HasPageBox

Page properties

Description

Indicates whether the selected page has the specified boundary rectangle.

Syntax

Delphi

function TPDFlib.HasPageBox(BoxType: Integer): Integer;

ActiveX

Function PDFlib::HasPageBox(BoxType As Long) As Long

DLL

int DLHasPageBox(int InstanceID, int BoxType);

Parameters

BoxType1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox

Return values

0The page does not have the specified boundary rectangle The page has the specified boundary rectangle
12 The page does not have the specified boundary rectangle, but there is a value in a parent page tree node that is being inherited by the page