SaveImageListItemDataToFile

Image handling

Description

Saves the image data of an image list item to a file on disk.

Syntax

Delphi

function TPDFlib.SaveImageListItemDataToFile(ImageListID, ImageIndex, Options: Integer; Const ImageFileName: WideString): Integer;

ActiveX

Function PDFlib::SaveImageListItemDataToFile(ImageListID As Long, ImageIndex As Long, Options As Long, ImageFileName As String) As Long

DLL

int DLSaveImageListItemDataToFile(int InstanceID, int ImageListID, int ImageIndex, int Options, wchar_t * ImageFileName);

Parameters

ImageListIDA value returned by the GetPageImageList function The index of the image in the list. The first image has an index of 1.
ImageIndex
OptionsReserved for future use. Should be set to 0.
ImageFileNameThe path and filename of the file to create

Return values

0Image data could not be saved
1Image data was saved successfully