PDF4Java Reference Documentation
com.o2sol.pdf4java.transforms Package / PDFReplaceImageEvent Class / setNewImage Method
The replacement image.
Collapse All Expand All
In This Topic

setNewImage Method
In This Topic
Sets the image that will replace the old image.
If this method is called with null parameter, the image will be removed from the page.
Syntax

    public void setNewImage(
       PDFImage value
    )

#### Parameters

value
  The replacement image.

See Also

#### Reference

PDFReplaceImageEvent Class
PDFReplaceImageEvent Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.