THotPDF.GetLoadedPageHeight Method

Returns the media box height (in PDF points) of the specified page in the loaded PDF document, used for layout calculation or coordinate mapping

Declaration

function GetLoadedPageHeight(PageIndex: Integer): Single;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the target page

Return value

Returns the media box height (in PDF points) of the page; returns 0 if the index is invalid

Usage notes

Related APIs