RasterImageSave Method (Stream, ImageOptionsBase, Rectangle)
Saves the image's data to the specified stream in the specified file format according to save options.

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.06
Syntax
public override void Save(
	Stream stream,
	ImageOptionsBase optionsBase,
	Rectangle boundsRectangle
)

Parameters

stream
Type: System.IOStream
The stream to save the image's data to.
optionsBase
Type: Aspose.ImagingImageOptionsBase
The save options.
boundsRectangle
Type: Aspose.ImagingRectangle
The destination image bounds rectangle. Set the empty rectangle for use source bounds.
See Also