DrawRotatedMultiLineTextA
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 DrawRotatedMultiLineText and string arguments are interpreted using the current SetAnsiMode code page
Draws rotated text which is wrapped at a specific delimiter.
The SetTextAlign function can be used to change the alignment of the text.
The first line of text will start with the baseline at the anchor point used for rotation.
Syntax
Delphi
Function DLDrawRotatedMultiLineTextA(InstanceID: Integer; XPos, YPos, Angle: Double; Delimiter, Text: PAnsiChar): Integer;
DLL
int DLDrawRotatedMultiLineTextA(int InstanceID, double XPos, double YPos, double Angle, const char * Delimiter, const char * Text);
Parameters
| XPos | The horizontal coordinate of the anchor point The vertical coordinate of the anchor point |
|---|---|
| YPos | |
| Angle | The angle to rotate the text, measured anti-clockwise in degrees from the baseline, around the anchor point 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). |
| Delimiter | |
| Text | The text to draw |