DrawText
Description
Draws text on the selected page, using the selected font at the predetermined font size. If no fonts have been added, then 12 pt Helvetica will automatically be added and selected. The alignment of the text can be changed with the SetTextAlign function.
Syntax
Delphi
function TDebenuPDFLibrary1811.DrawText(XPos, YPos: Double;
Text: WideString): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DrawText(XPos As Double, YPos As Double,
Text As String) As Long
DLL
int DPLDrawText(int InstanceID, double XPos, double YPos, wchar_t * Text)
Parameters
XPos | The horizontal position of where to draw the text. The reference point is usually to the left of the first character, unless the SetTextAlign function has been used to change the alignment. |
YPos | The vertical position of where to draw the text. The reference point is the text baseline. |
Text | The text to draw on the page |