DrawTextFlow
Text, Layout
Description
Draws as much of a flow as fits one box and advances its cursor
Syntax
Delphi
Function TPDFlib.DrawTextFlow(FlowID: Integer; Left, Top, Width, Height: Double): Integer;ActiveX
Function PDFlib::DrawTextFlow(FlowID As Long, Left As Double, Top As Double, Width As Double, Height As Double) As LongDLL
int DLDrawTextFlow(int InstanceID, int FlowID, double Left, double Top, double Width, double Height);Return values
Returns the number of lines drawn, or 0 when nothing fits or the handle is invalid
Remarks
A zero result leaves the flow unchanged so the caller can retry with another box
Line breaking uses the currently selected font, text size, language, and hyphenation settings, with line height equal to 120 percent of the current text height
Coordinates read top-down regardless of the current origin