DAHasPageBox
Direktzugriffsfunktionen, Seiteneigenschaften
Beschreibung
Ermittelt, ob eine Seite über ein bestimmtes Seitenbegrenzungsrechteck verfügt.
Syntax
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);
Parameter
| FileHandle | Ein von den Funktionen DAOpenFile, DAOpenFileReadOnly oder DAOpenFromStream zurückgegebenes Handle |
|---|---|
| PageRef | Eine von den Funktionen DAFindPage oder DANewPage zurückgegebene Seitenreferenz |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
Rückgabewerte
| 0 | Die Seite besitzt das angegebene Seitenbegrenzungsrechteck nicht |
|---|---|
| 1 | Die Seite besitzt das angegebene Seitenbegrenzungsrechteck |