DAHasPageBox
وظائف الوصول المباشر، خصائص الصفحة
الوصف
يحدد إن كانت الصفحة تمتلك مستطيل حد صفحة معينًا
الصيغة
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);
المعاملات
| FileHandle | مقبض تُرجعه الدالات DAOpenFile أو DAOpenFileReadOnly أو DAOpenFromStream |
|---|---|
| PageRef | مرجع صفحة تُرجعه الدالتان DAFindPage أو DANewPage |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
قيم الإرجاع
| 0 | لا تمتلك الصفحة مستطيل حد الصفحة المحدد تمتلك الصفحة مستطيل حد الصفحة المحدد |
|---|---|
| 1 |