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

参数

名称用途
ElementCaller-owned reusable layout element to measure
AvailableWidthMaximum width available in current document units
AvailableHeightMaximum height available in current document units

返回值

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

使用说明

相关 API