THotPDF.PlaceLayoutElement Method
Draws a fitting layout element or a verified split head and returns an owned continuation fragment
宣言
function PlaceLayoutElement(Element: THPDFLayoutElement; const Bounds: THPDFLayoutBounds; out Overflow: THPDFLayoutOverflow): boolean;
ユニット
HPDFDoc
パラメータ
| 名前 | 目的 |
|---|---|
Element | Caller-owned element to place or split |
Bounds | Available position and dimensions on the active page |
Overflow | Receives an owned continuation when the element splits, otherwise nil |
戻り値
Returns True when a complete element or verified placed fragment was drawn
使用上の注意
- A split must provide both a placed element and an overflow element
- The placed fragment is measured again and must fit before Draw is called
- The returned THPDFLayoutOverflow owns its continuation until DetachElement is called