DAReleaseImageList

图像处理、直接访问功能、页面属性

描述

释放指定图像列表,包括从列表中的图像提取的全部图像数据。释放图像列表不会影响原始图像

语法

Delphi

Function TPDFlib.DAReleaseImageList(FileHandle, ImageListID: Integer): Integer;

ActiveX

Function PDFlib::DAReleaseImageList(FileHandle As Long, ImageListID As Long) As Long

DLL

int DLDAReleaseImageList(int InstanceID, int FileHandle, int ImageListID);

参数

FileHandle由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄
ImageListID由 DAGetPageImageList 函数返回的值

返回值

0无法释放图像列表。ImageListID 参数可能无效,或未引用指定文档中的图像列表
1图像列表已成功释放