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.EpsAssembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.04
Syntaxpublic override void Save(
Stream stream,
ImageOptionsBase optionsBase,
Rectangle boundsRectangle
)
Public Overrides Sub Save (
stream As Stream,
optionsBase As ImageOptionsBase,
boundsRectangle As Rectangle
)
public:
virtual void Save(
Stream^ stream,
ImageOptionsBase^ optionsBase,
Rectangle boundsRectangle
) override
abstract Save :
stream : Stream *
optionsBase : ImageOptionsBase *
boundsRectangle : Rectangle -> unit
override Save :
stream : Stream *
optionsBase : ImageOptionsBase *
boundsRectangle : Rectangle -> unit
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.
ExceptionsException | Condition |
---|
ArgumentNullException | optionsBase |
ArgumentException | Cannot save to the specified format as it is not supported at the moment.;optionsBase |
ImageSaveException | Image export failed. |
See Also