EpsImageSave 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.FileFormats.Eps
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.04
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 sourse bounds.
Exceptions
ExceptionCondition
ArgumentNullExceptionoptionsBase
ArgumentExceptionCannot save to the specified format as it is not supported at the moment.;optionsBase
ImageSaveExceptionImage export failed.
See Also