THotPDF.ConfigureParagraphPagination Method

Configures keep-with-next, orphan-line, and widow-line constraints for a paragraph created by CreateParagraph

Declaration

procedure ConfigureParagraphPagination(Index: Integer; KeepWithNext: boolean; MinOrphanLines: Integer= 2; MinWidowLines: Integer= 2);

Unit

HPDFDoc

Parameters

NamePurpose
IndexOne-based paragraph handle returned by CreateParagraph
KeepWithNextReserves at least one following line when the paragraph can move intact
MinOrphanLinesMinimum opening lines allowed before a page break
MinWidowLinesMinimum closing lines allowed after a page break

Return value

This member does not return a value

Usage notes

Related APIs