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 LongDLL
int DLNewTextFlow(int InstanceID, const wchar_t* Text);Parameters
| Text | The complete passage to lay out |
|---|
Return values
| Handle | TextFlow handle to release with ReleaseTextFlow |
|---|---|
| 0 | The 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