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);

参数

ImageListIDGetPageImageList 函数返回的值 图像在列表中的索引。第一张图像的索引为 1
ImageIndex
Options保留供将来使用。应设置为 0
ImageFileName要创建的文件的路径和文件名

返回值

0无法保存图像数据
1图像数据已成功保存