DAHidePage
直接访问功能、页面操作
描述
隐藏从 DAOpenFile 打开的文档中的指定页面。页面内容仍在文档中,但页面不会显示
语法
Delphi
Function TPDFlib.DAHidePage(FileHandle, PageRef: Integer): Integer;
ActiveX
Function PDFlib::DAHidePage(FileHandle As Long, PageRef As Long) As Long
DLL
int DLDAHidePage(int InstanceID, int FileHandle, int PageRef);
参数
| FileHandle | 由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄 |
|---|---|
| PageRef | DAFindPage 或 DANewPage 函数返回的页面引用 |
返回值
| 0 | 指定的 FileHandle 或 PageRef 无效 |
|---|---|
| 1 | 页面已成功隐藏 |