DrawRotatedMultiLineText

Text, Page layout

Description

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 TPDFlib.DrawRotatedMultiLineText(XPos, YPos, Angle: Double; Const Delimiter, Text: WideString): Integer;

ActiveX

Function PDFlib::DrawRotatedMultiLineText(XPos As Double, YPos As Double, Angle As Double, Delimiter As String, Text As String) As Long

DLL

int DLDrawRotatedMultiLineText(int InstanceID, double XPos, double YPos, double Angle, wchar_t * Delimiter, wchar_t * Text);

Parameters

XPosThe horizontal coordinate of the anchor point The vertical coordinate of the anchor point
YPos
AngleThe 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
TextThe text to draw