Debenu Quick PDF logo

SaveImageToFile

Image handling

Description

Saves the selected image to a file on disk. Only certain images can be saved. If the ImageType function returns 0 then the image type is in an unsupported format and cannot be saved.

Syntax

Delphi

function TDebenuPDFLibrary1511.SaveImageToFile(FileName: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SaveImageToFile(FileName As String) As Long

DLL

int DPLSaveImageToFile(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport