DrawMultiLineTextA
Text, Page layout
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to DrawMultiLineText and string arguments are interpreted using the current SetAnsiMode code page
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 DLDrawMultiLineTextA(InstanceID: Integer; XPos, YPos: Double; Delimiter, Text: PAnsiChar): Integer;
DLL
int DLDrawMultiLineTextA(int InstanceID, double XPos, double YPos, const char * Delimiter, const char * 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 |