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 | handle שהוחזר על ידי הפונקציות DAOpenFile, DAOpenFileReadOnly או DAOpenFromStream |
|---|---|
| PageRef | הפניה לדף שהוחזרה על ידי הפונקציות DAFindPage או DANewPage |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
ערכי החזרה
| 0 | לעמוד אין את מלבן גבול העמוד שצוין לעמוד יש את מלבן גבול העמוד שצוין |
|---|---|
| 1 |