Provides a replacement image to use instead of the original image from the source document. The stream must contain the complete replacement image data (e.g. PNG or JPEG bytes). When set, the library writes this data to the output instead of the original image.
publicvoidSetReplacementImage(StreamimageStream)
Parameter
Type
Description
imageStream
Stream
A readable stream containing the replacement image data.