SaveImageListItemDataToFile

影像處理

描述

把影像清單項目的影像資料存成磁碟上的檔案

語法

Delphi

Function TPDFlib.SaveImageListItemDataToFile(ImageListID, ImageIndex, Options: Integer; Const ImageFileName: WideString): Integer;

ActiveX

Function PDFlib::SaveImageListItemDataToFile(ImageListID As Long, ImageIndex As Long, Options As Long, ImageFileName As String) As Long

DLL

int DLSaveImageListItemDataToFile(int InstanceID, int ImageListID, int ImageIndex, int Options, const wchar_t * ImageFileName);

參數

ImageListID由 GetPageImageList 函式傳回的值 影像在清單中的索引。第一張影像的索引為 1。
ImageIndex
Options保留供日後使用,應設為 0
ImageFileName要建立的檔案路徑與檔名

傳回值

0無法儲存影像資料
1影像資料儲存成功