THotPDF.GetLoadedPageInheritedBox Method

Reads the effective page boundary after resolving inherited MediaBox, CropBox, BleedBox, TrimBox, or ArtBox values

Declaration

function GetLoadedPageInheritedBox(PageIndex: Integer; Box: THPDFPageBoundary; out Left, Bottom, Right, Top: Single): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based loaded page index
BoxBoundary type to resolve, such as MediaBox, CropBox, BleedBox, TrimBox, or ArtBox
LeftReceives the effective left coordinate in PDF points
BottomReceives the effective bottom coordinate in PDF points
RightReceives the effective right coordinate in PDF points
TopReceives the effective top coordinate in PDF points

Return value

Returns True when the requested effective boundary is available

Usage notes

Related APIs