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);

פרמטרים

FileHandlehandle שהוחזר על ידי הפונקציות DAOpenFile, DAOpenFileReadOnly או DAOpenFromStream
PageRefהפניה לדף שהוחזרה על ידי הפונקציות DAFindPage או DANewPage
BoxIndex1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox

ערכי החזרה

0לעמוד אין את מלבן גבול העמוד שצוין לעמוד יש את מלבן גבול העמוד שצוין
1