DAGetImageDataToString
类别:图像处理、直接访问功能
描述
返回图像列表中图像的图像数据
数据格式取决于图像类型
DAGetImageIntProperty 函数可用于确定图像类型
语法
Delphi
Function TPDFlib.DAGetImageDataToString(FileHandle, ImageListID, ImageIndex: Integer): AnsiString;
DLL
const char * DLDAGetImageDataToString(int InstanceID, int FileHandle, int ImageListID, int ImageIndex);
参数
| FileHandle | 由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄 |
|---|---|
| ImageListID | 由 DAGetPageImageList 函数返回的值 |
| ImageIndex | 图像索引。列表中的第一幅图像索引为 1。使用 DAGetImageListCount 函数确定列表中的图像数量 |