IImage

Overview

IImage is a class in Aspose.Slides FOSS for .NET.

Represents a raster or vector image.

This class provides 5 methods for working with IImage objects in .NET programs. Available methods include: Save. All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: Height, Size, Width.

Properties

NameTypeAccessDescription
SizeSizeReadGets the image dimensions as a Size.
WidthintReadGets the image width in pixels.
HeightintReadGets the image height in pixels.

Methods

SignatureDescription
Save(filename: string)Saves the image to the specified file path.
Save(filename: string, format: string)Saves the image to the specified file path in the given format.
Save(stream: Stream, format: string)Saves the image to the specified stream in the given format.
Save(filename: string, format: string, quality: int)Saves the image to the specified file path in the given format and quality.
Save(stream: Stream, format: string, quality: int)Saves the image to the specified stream in the given format and quality.

See Also