SaveImageToFile

Image handling

Description

Saves the selected image to a file on disk. Only certain images can be saved. If the ImageType

Syntax

Delphi

function TPDFlib.SaveImageToFile(Const FileName: WideString): Integer;

ActiveX

Function PDFlib::SaveImageToFile(FileName As String) As Long

DLL

int DLSaveImageToFile(int InstanceID, wchar_t * FileName);

Parameters

FileNameThe name of the image file to create.

Return values

0The image could not be saved. Either an image is not selected or the file could not be created.
1The image was saved successfully