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 TDebenuPDFLibrary1811.DASaveImageDataToFile(FileHandle, ImageListID,
ImageIndex: Integer; ImageFileName: WideString): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DASaveImageDataToFile(FileHandle As Long,
ImageListID As Long, ImageIndex As Long, ImageFileName As String) As Long
DLL
int DPLDASaveImageDataToFile(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 |
| 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. |
| ImageFileName | The path and file name of the file to create to store the image data in. |
