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