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 Long

DLL

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

Parameters

XPosThe horizontal reference point of the text block
YPosThe baseline of the first line of text
DelimiterThe 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).
TextThe text to draw