Debenu Quick PDF logo

DAHasPageBox

Direct access functionality, Page properties

Version history

This function was introduced in Quick PDF Library version 7.23.

Description

Determines if a page has a particular page boundary rectangle.

Syntax

Delphi

function TDebenuPDFLibrary1511.DAHasPageBox(FileHandle, PageRef, 
  BoxIndex: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::DAHasPageBox(FileHandle As Long,
  PageRef As Long, BoxIndex As Long) As Long

DLL

int DPLDAHasPageBox(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
1 The page has the specified page boundary rectangle

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport