DAHasPageBox
Fonctionnalité Direct Access, propriétés des pages
Description
Détermine si une page comporte un rectangle de limite précis
Syntaxe
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);
Paramètres
| FileHandle | Un handle renvoyé par les fonctions DAOpenFile, DAOpenFileReadOnly ou DAOpenFromStream |
|---|---|
| PageRef | Référence de page renvoyée par les fonctions DAFindPage ou DANewPage |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
Valeurs de retour
| 0 | La page ne possède pas le rectangle de limite spécifié La page possède le rectangle de limite spécifié |
|---|---|
| 1 |