DAGetPageBox
وظائف الوصول المباشر، خصائص الصفحة
الوصف
تُرجع بُعدًا من مستطيل حد الصفحة المحدد
القيم المُرجعة نقاط مقاسة من الزاوية السفلية اليسرى للصفحة
الصيغة
Delphi
Function TPDFlib.DAGetPageBox(FileHandle, PageRef, BoxIndex, Dimension: Integer): Double;
ActiveX
Function PDFlib::DAGetPageBox(FileHandle As Long, PageRef As Long, BoxIndex As Long, Dimension As Long) As Double
DLL
double DLDAGetPageBox(int InstanceID, int FileHandle, int PageRef, int BoxIndex, int Dimension);
المعاملات
| FileHandle | مقبض تُرجعه الدالات DAOpenFile أو DAOpenFileReadOnly أو DAOpenFromStream |
|---|---|
| PageRef | مرجع صفحة تُرجعه الدالتان DAFindPage أو DANewPage |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
| Dimension | 0 = Left 1 = Top 2 = Width 3 = Height 4 = Right 5 = Bottom int BoxIndex, int Dimension); |