DAGetPageImageList
影像處理、直接存取功能、頁面屬性
描述
此函式找出所選頁面上的所有影像,並傳回 ImageListID,可搭配 DAGetImageListCount、DAGetImageListItemIntProperty、DAGetImageListItemDblProperty、DAGetImageListItemDataToString、DAGetImageListItemDataToVariant 與 DASaveImageListItemDataToFile 函式使用。
結果會包含行內影像,但行內影像的 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 |