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
BoxIndex1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox

قيم الإرجاع

0لا تمتلك الصفحة مستطيل حد الصفحة المحدد تمتلك الصفحة مستطيل حد الصفحة المحدد
1