ClearImage
Version history
This function was introduced in Quick PDF Library version 7.21.
Description
Clears the specified image.
To prevent the corruption of existing links to the image it will not be deleted from the document. The image will be converted into a 24-bit RGB format consisting of a single transparent pixel.
Syntax
Delphi
function TQuickPDF0813.ClearImage(ImageID: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::ClearImage(ImageID As Long) As Long
DLL
int QuickPDFClearImage(int InstanceID, int ImageID)
Parameters
| ImageID | The ImageID of the image to be cleared |
Return values
| 0 | The specified ImageID was not valid |
| 1 | The image was cleared |