DASaveImageDataToFile
Image handling, Direct access functionality
Description
Saves an image in an image list to a file on disk. The type of image file depends on the type of the image. The DAGetImageIntProperty function can be used to determine the image type.
Syntax
Delphi
function TPDFlib.DASaveImageDataToFile(FileHandle, ImageListID, ImageIndex: Integer; Const ImageFileName: WideString): Integer;ActiveX
Function PDFlib::DASaveImageDataToFile(FileHandle As Long, ImageListID As Long, ImageIndex As Long, ImageFileName As String) As LongDLL
int DLDASaveImageDataToFile(int InstanceID, int FileHandle, int ImageListID, int ImageIndex, wchar_t * ImageFileName);Parameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
|---|---|
| ImageListID | A value returned by the DAGetPageImageList function 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. |
| ImageIndex | |
| ImageFileName | The path and file name of the file to create to store the image data in. |