XImageCollectionReplace Method (Int32, Stream, Int32)

Replace image in collection with another image.

Namespace:  Aspose.Pdf
Assembly:  Aspose.PDF (in Aspose.PDF.dll) Version: 22.5.0
Syntax
public void Replace(
	int index,
	Stream stream,
	int quality
)

Parameters

index
Type: SystemInt32
Index of collection item which will be replaced.
stream
Type: System.IOStream
Stream containing image data (in JPEG format).
quality
Type: SystemInt32
JPEG quality.
See Also