DAGetImageDataToString
Image handling, Direct access functionality
Description
Returns the image data of an image in an image list.
The format of the data depends on the type of the image.
The DAGetImageIntProperty function can be used to determine the image type.
Syntax
Delphi
function TPDFlib.DAGetImageDataToString(FileHandle, ImageListID, ImageIndex: Integer): AnsiString;ActiveX
Function PDFlib::DAGetImageDataToString(FileHandle As Long, ImageListID As Long, ImageIndex As Long) As StringDLL
char * DLDAGetImageDataToString(int InstanceID, int FileHandle, int ImageListID, int ImageIndex);Parameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
|---|---|
| ImageListID | A value returned by the DAGetPageImageList function |
| ImageIndex | The index of the image. The first image in the list has an index of 1. Use the DAGetImageListCount function to determine the number of images in the list. |