DAHasPageBox
Fungsionalitas akses langsung, Properti halaman
Deskripsi
Menentukan apakah sebuah halaman punya page boundary rectangle tertentu
Sintaks
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 | Handle yang dikembalikan oleh fungsi DAOpenFile, DAOpenFileReadOnly, atau DAOpenFromStream |
|---|---|
| PageRef | Referensi halaman yang dikembalikan oleh fungsi DAFindPage atau DANewPage |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
Nilai kembalian
| 0 | Halaman tidak punya page boundary rectangle yang ditentukan Halaman punya page boundary rectangle yang ditentukan |
|---|---|
| 1 |