ReplaceImage
Image handling, Page layout
Description
Replaces an image on the selected page with another image.
The original image is not removed from the document and can be reused. If the original image is no longer needed it can be cleared using the ClearImage function.
Syntax
Delphi
function TPDFlib.ReplaceImage(OriginalImageID, NewImageID: Integer): Integer;ActiveX
Function PDFlib::ReplaceImage(OriginalImageID As Long, NewImageID As Long) As LongDLL
int DLReplaceImage(int InstanceID, int OriginalImageID, int NewImageID);Parameters
| OriginalImageID | The ImageID of the image to be replaced |
|---|---|
| NewImageID | The ImageID of the image to replace the existing image |