SetTextFlowMinLines

Text, Layout

Description

Sets the fewest orphan lines an incomplete box or column may take from a flow

Syntax

Delphi

Function TPDFlib.SetTextFlowMinLines(FlowID, MinLines: Integer): Integer;

ActiveX

Function PDFlib::SetTextFlowMinLines(FlowID As Long, MinLines As Long) As Long

DLL

int DLSetTextFlowMinLines(int InstanceID, int FlowID, int MinLines);

Return values

Returns 1 when the value is at least 1 and the flow is valid, or 0 otherwise

Remarks

A box that can take fewer lines than the configured minimum takes none unless it contains all remaining text

This compatibility API changes only the orphan minimum and leaves the widow minimum unchanged

See also

SetTextFlowPaginationLines, DrawTextFlow, DrawTextFlowColumns