THotPDF.PlaceLayoutElement Method

Draws a fitting layout element or a verified split head and returns an owned continuation fragment

Declaration

function PlaceLayoutElement(Element: THPDFLayoutElement; const Bounds: THPDFLayoutBounds; out Overflow: THPDFLayoutOverflow): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
ElementCaller-owned element to place or split
BoundsAvailable position and dimensions on the active page
OverflowReceives an owned continuation when the element splits, otherwise nil

Return value

Returns True when a complete element or verified placed fragment was drawn

Usage notes

Related APIs