DAHasPageBox
Direct access functionality, Page properties
Description
Determines if a page has a particular page boundary rectangle.
Syntax
Delphi
function TPDFlib.DAHasPageBox(FileHandle, PageRef, BoxIndex: Integer): Integer;ActiveX
Function PDFlib::DAHasPageBox(FileHandle As Long, PageRef As Long, BoxIndex As Long) As LongDLL
int DLDAHasPageBox(int InstanceID, int FileHandle, int PageRef, int BoxIndex);Parameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
|---|---|
| PageRef | A page reference returned by the DAFindPage or DANewPage functions |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
Return values
| 0 | The page does not have the specified page boundary rectangle The page has the specified page boundary rectangle |
|---|---|
| 1 |