PdfWriter.DrawString Method
Overloads
- PdfWriter.DrawString(String, TUIFont, TUIBrush, Double, Double)
- PdfWriter.DrawString(String, TUIFont, TUITextDecoration, TUIBrush, Double, Double)
- PdfWriter.DrawString(String, TUIFont, TUIPen, TUIBrush, Double, Double)
- PdfWriter.DrawString(String, TUIFont, TUITextDecoration, TUIPen, TUIBrush, Double, Double)
PdfWriter.DrawString(String, TUIFont, TUIBrush, Double, Double)
Writes a string to the current page. This overload doesn't do text decorations like underline or strike-through.
Syntax
Namespace: FlexCel.Pdf
public void DrawString(String s, TUIFont aFont, TUIBrush aBrush, Double x, Double y)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
s | String | String to write. | |
aFont | TUIFont | Font to draw the text. | |
aBrush | TUIBrush | Brush used for Color. | |
x | Double | X coord. (default from bottom left) | |
y | Double | Y coord. (default from bottom left. Might change with YAxisGrowsDown value) |
See also
PdfWriter.DrawString(String, TUIFont, TUITextDecoration, TUIBrush, Double, Double)
Writes a string to the current page.
Syntax
Namespace: FlexCel.Pdf
public void DrawString(String s, TUIFont aFont, TUITextDecoration aTextDecoration, TUIBrush aBrush, Double x, Double y)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
s | String | String to write. | |
aFont | TUIFont | Font to draw the text. | |
aTextDecoration | TUITextDecoration | Text decorations, like underline or strikeout. | |
aBrush | TUIBrush | Brush used for Color. | |
x | Double | X coord. (default from bottom left) | |
y | Double | Y coord. (default from bottom left. Might change with YAxisGrowsDown value) |
See also
PdfWriter.DrawString(String, TUIFont, TUIPen, TUIBrush, Double, Double)
Writes a string to the current page. . This overload doesn't do text decorations like underline or strike-through.
Syntax
Namespace: FlexCel.Pdf
public void DrawString(String s, TUIFont aFont, TUIPen aPen, TUIBrush aBrush, Double x, Double y)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
s | String | String to write. | |
aFont | TUIFont | Font to draw the text. | |
aPen | TUIPen | Pen to draw the text outline. If null, no outline will be drawn. | |
aBrush | TUIBrush | Brush used for Color. If null, only the outline will be drawn. | |
x | Double | X coord. (default from bottom left) | |
y | Double | Y coord. (default from bottom left. Might change with YAxisGrowsDown value) |
See also
PdfWriter.DrawString(String, TUIFont, TUITextDecoration, TUIPen, TUIBrush, Double, Double)
Writes a string to the current page.
Syntax
Namespace: FlexCel.Pdf
public void DrawString(String s, TUIFont aFont, TUITextDecoration aTextDecoration, TUIPen aPen, TUIBrush aBrush, Double x, Double y)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
s | String | String to write. | |
aFont | TUIFont | Font to draw the text. | |
aTextDecoration | TUITextDecoration | Underlines and strikeouts of the text. | |
aPen | TUIPen | Pen to draw the text outline. If null, no outline will be drawn. | |
aBrush | TUIBrush | Brush used for Color. If null, only the outline will be drawn. | |
x | Double | X coord. (default from bottom left) | |
y | Double | Y coord. (default from bottom left. Might change with YAxisGrowsDown value) |