THotPDF.MeasureLayoutElement Method
Measures a reusable layout element against immutable page constraints without exposing a drawing surface
اعلان
function MeasureLayoutElement(Element: THPDFLayoutElement; AvailableWidth, AvailableHeight: Single): THPDFLayoutMeasurement;
واحد
HPDFDoc
پارامترها
| نام | هدف |
|---|---|
Element | Caller-owned reusable layout element to measure |
AvailableWidth | Maximum width available in current document units |
AvailableHeight | Maximum height available in current document units |
مقدار بازگشتی
Returns validated dimensions, split capability, and the centrally computed fit result
یادداشتهای استفاده
- Measure receives only immutable constraints and cannot draw through a page or document parameter
- Negative dimensions returned by a custom element are rejected