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
| Name | Type | Access | Description |
|---|---|---|---|
Size | Size | Read | Gets the image dimensions as a Size. |
Width | int | Read | Gets the image width in pixels. |
Height | int | Read | Gets the image height in pixels. |
Methods
| Signature | Description |
|---|---|
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. |