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 LongDLL
int DLSaveImageToFile(int InstanceID, wchar_t * FileName);Parameters
| FileName | The name of the image file to create. |
|---|
Return values
| 0 | The image could not be saved. Either an image is not selected or the file could not be created. |
|---|---|
| 1 | The image was saved successfully |