SetTextFlowMinLines
Text, Fonts
Description
Sets the fewest lines a box may take from a flow.
Syntax
Delphi
Function TPDFlib.SetTextFlowMinLines(FlowID, MinLines: Integer): Integer;Parameters
| FlowID | A handle from NewTextFlow. |
|---|---|
| MinLines | Fewest lines to place at once. The default is 1. |
Return values
| 1 | The setting was stored. |
|---|---|
| 0 | The value was below 1, or the handle is not valid. |
Remarks
A box that could only take fewer lines than this takes none and pushes them on, which is what stops a single line being stranded at the foot of a column. A passage shorter than the minimum is still placed, since otherwise it could never be laid out at all.