DrawMultiLineText
Text, Page layout
Description
Draw text which is wrapped at a specific delimiter.
The SetTextAlign function can be used to change the alignment of the text.
Syntax
Delphi
function TPDFlib.DrawMultiLineText(XPos, YPos: Double; Const Delimiter, Text: WideString): Integer;ActiveX
Function PDFlib::DrawMultiLineText(XPos As Double, YPos As Double, Delimiter As String, Text As String) As LongDLL
int DLDrawMultiLineText(int InstanceID, double XPos, double YPos, wchar_t * Delimiter, wchar_t * Text);Parameters
| XPos | The horizontal reference point of the text block |
|---|---|
| YPos | The baseline of the first line of text |
| Delimiter | The delimiter to use when splitting the text into lines. The only valid characters to use as the delimiter are characters which have a "width", as well as the CR and LF characters (ASCII values 13 and 10). |
| Text | The text to draw |