DAHasPageBox

Functionaliteit voor directe toegang, pagina-eigenschappen

Beschrijving

Bepaalt of een pagina een bepaalde paginagrensrechthoek heeft

Syntaxis

Delphi

Function TPDFlib.DAHasPageBox(FileHandle, PageRef, BoxIndex: Integer): Integer;

ActiveX

Function PDFlib::DAHasPageBox(FileHandle As Long, PageRef As Long, BoxIndex As Long) As Long

DLL

int DLDAHasPageBox(int InstanceID, int FileHandle, int PageRef, int BoxIndex);

Parameters

FileHandleEen handle geretourneerd door de functies DAOpenFile, DAOpenFileReadOnly of DAOpenFromStream
PageRefEen paginareferentie die door de functies DAFindPage of DANewPage wordt geretourneerd
BoxIndex1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox

Retourwaarden

0De pagina heeft de opgegeven pagina-grensrechthoek niet De pagina heeft de opgegeven pagina-grensrechthoek
1