THotPDF.MeasureLayoutElement Method

Measures a reusable layout element against immutable page constraints without exposing a drawing surface

Deklaracija

function MeasureLayoutElement(Element: THPDFLayoutElement; AvailableWidth, AvailableHeight: Single): THPDFLayoutMeasurement;

Unit

HPDFDoc

Parametri

NameSvrha
ElementCaller-owned reusable layout element to measure
AvailableWidthMaximum width available in current document units
AvailableHeightMaximum height available in current document units

Povratna vrednost

Returns validated dimensions, split capability, and the centrally computed fit result

Napomene za upotrebu

Povezani API-ji