Debenu Quick PDF logo


Image handling

Version history

This function was introduced in Quick PDF Library version 8.15.


Releases the temporary memory used by an image that was added to the PDF after the document was opened (using functions such as AddImageFromFile) or an image that was found using the FindImages function.

Releasing the image does not affect the PDF itself, images that have already been drawn onto the page will not be removed.

After the image has been released the ImageID is no longer valid and cannot be used with functions such as SelectImage.



function TDebenuPDFLibrary1511.ReleaseImage(ImageID: Integer): Integer;


Function DebenuPDFLibrary1511.PDFLibrary::ReleaseImage(ImageID As Long) As Long


int DPLReleaseImage(int InstanceID, int ImageID)


ImageID The ID of the image to release

Return values

0 The image could not be released. The ImageID parameter could be invalid or the ImageID doesn't reference an image contained in the selected document.
1 The image was released successfully.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport