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 |