NewTextFlow

Text, Layout

Description

Creates a flow that carries one passage across boxes, columns, and pages

Syntax

Delphi

Function TPDFlib.NewTextFlow(Const Text: WideString): Integer;

ActiveX

Function PDFlib::NewTextFlow(Text As String) As Long

DLL

int DLNewTextFlow(int InstanceID, const wchar_t* Text);

Parameters

TextThe complete passage to lay out

Return values

HandleTextFlow handle to release with ReleaseTextFlow
0The text is empty

Remarks

The flow retains a cursor at the first character not yet placed, allowing each drawing call to continue exactly where the preceding box or column stopped

A new flow inherits the selected document language for automatic hyphenation when that language is supported

See also

DrawTextFlow, DrawTextFlowColumns, NewTextFlowA