SaveImageToString

Image handling

Description

Use this function to save the selected image to a string. Only certain image types can be saved, see the SaveImageToFile function for further information

Syntax

Delphi

Function TPDFlib.SaveImageToString: AnsiString;

DLL

const char* DLSaveImageToString(int InstanceID);

Return values

Returns the selected image as an encoded string. Returns an empty string when no image is selected or the image type cannot be saved.