SaveImageListItemDataToFile
Version history
This function was introduced in Quick PDF Library version 8.13.
Description
Saves the image data of an image list item to a file on disk.
Syntax
Delphi
function TQuickPDF0815.SaveImageListItemDataToFile(ImageListID, ImageIndex,
Options: Integer; ImageFileName: WideString): Integer;
ActiveX
Function QuickPDF0815.PDFLibrary::SaveImageListItemDataToFile(ImageListID As Long,
ImageIndex As Long, Options As Long, ImageFileName As String) As Long
DLL
int QuickPDFSaveImageListItemDataToFile(int InstanceID, int ImageListID,
int ImageIndex, int Options, wchar_t * ImageFileName)
Parameters
| ImageListID | A value returned by the GetPageImageList function |
| ImageIndex | The index of the image in the list. The first image has an index of 1. |
| Options | Reserved for future use. Should be set to 0. |
| ImageFileName | The path and filename of the file to create |
Return values
| 0 | Image data could not be saved |
| 1 | Image data was saved successfully |