PDF4Java Reference Documentation
com.o2sol.pdf4java.transforms Package / PDFReplaceImageEvent Class
Methods Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFReplaceImageEvent Class Members
In This Topic

The following tables list the members exposed by PDFReplaceImageEvent.

Public Constructors

| Name | Description
--- | --- | ---
| PDFReplaceImageEvent Constructor | Initializes a new object. This method supports the internal library infrastructure and should not be used by external client code.

Top
Public Methods

| Name | Description
--- | --- | ---
| getNewImage | Gets the image that will replace the old image.
| getNewImageID | Gets the ID of the new image. This ID identifies the image in the Resources dictionary and it is also used as parameter for the Do operator.
| getOldImage | Gets the image that will be replaced. This method returns a value if has been set to true.
| getOldImageID | Gets the ID of the old image. This ID identifies the image in the Resources dictionary and it is also used as parameter for the Do operator.
| getPerformReplacement | This method supports the internal library infrastructure and should not be used by external client code.
| setNewImage | 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.
| setNewImageID | Sets the ID of the new image. This ID identifies the image in the Resources dictionary and it is also used as parameter for the Do operator.
| setPerformReplacement | This method supports the internal library infrastructure and should not be used by external client code.

Top
See Also

#### Reference

PDFReplaceImageEvent Class
com.o2sol.pdf4java.transforms Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.