DrawSpacedText
Description
Draws text on the selected page, using the selected font at the predetermined font size. If no fonts have been added, then the 12 pt Helvetica will automatically be added and selected. Each character will be spaced at regular intervals. The individual characters will be aligned relative to the XPos variable depending on how the SetTextAlign function has been used.
Syntax
Delphi
function TDebenuPDFLibrary1811.DrawSpacedText(XPos, YPos, Spacing: Double;
Text: WideString): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DrawSpacedText(XPos As Double,
YPos As Double, Spacing As Double, Text As String) As Long
DLL
int DPLDrawSpacedText(int InstanceID, double XPos, double YPos, double Spacing,
wchar_t * Text)
Parameters
XPos | The horizontal position of where to draw the text |
YPos | The vertical position of where to draw the text. The reference point is the text baseline. |
Spacing | The spacing between the same point on each character |
Text | The text to draw on the page |