DAGetPageImageList
图像处理、直接访问功能、页面属性
描述
此函数查找所选页面上的所有图像,并返回可与 DAGetImageListCount、DAGetImageListItemIntProperty、DAGetImageListItemDblProperty、DAGetImageListItemDataToString、DAGetImageListItemDataToVariant 和 DASaveImageListItemDataToFile 函数配合使用的 ImageListID
其中包括内嵌图像,但任何内嵌图像的 ImageID 都为 0,这意味着内嵌图像不能与 ReplaceImage 或 ClearImage 函数一起使用
语法
Delphi
Function TPDFlib.DAGetPageImageList(FileHandle, PageRef: Integer): Integer;
ActiveX
Function PDFlib::DAGetPageImageList(FileHandle As Long, PageRef As Long) As Long
DLL
int DLDAGetPageImageList(int InstanceID, int FileHandle, int PageRef);
参数
| FileHandle | 由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄 |
|---|---|
| PageRef | DAFindPage 函数返回的页面引用 |
返回值
| 0 | FileHandle 或 PageRef 参数无效;可与其他直接访问图像列表函数一起使用的 ImageListID 值 |
|---|---|
| Non-zero |