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 LongDLL
int DLHasPageBox(int InstanceID, int BoxType);Parameters
| BoxType | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
|---|
Return values
| 0 | The page does not have the specified boundary rectangle The page has the specified boundary rectangle |
|---|---|
| 1 | 2 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 |