Class Image
Inheritance
System.Object
Image
Implements
System.IDisposable
Namespace: Syncfusion.Drawing
Assembly: Syncfusion.OfficeChart.UWP.dll
Syntax
public class Image : Object, IDisposable
Constructors
Image(Stream)
Initializes a new instance of the Image class.
Declaration
public Image(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream. |
Properties
Format
Gets the image format.
Declaration
public ImageFormat Format { get; }
Property Value
Type | Description |
---|---|
ImageFormat | The image format. |
Height
Gets the height.
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The height. |
ImageData
Gets the image data.
Declaration
public byte[] ImageData { get; }
Property Value
Type | Description |
---|---|
System.Byte[] | The image data. |
RawFormat
Gets the image format.
Declaration
public ImageFormat RawFormat { get; }
Property Value
Type | Description |
---|---|
ImageFormat | The image format. |
Size
Gets the size.
Declaration
public Size Size { get; }
Property Value
Type | Description |
---|---|
Size | The size. |
Width
Gets the width.
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The width. |
Methods
Clone()
Declaration
public Image Clone()
Returns
Type |
---|
Image |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
FromStream(Stream)
Declaration
public static Image FromStream(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Returns
Type |
---|
Image |
FromStream(Stream, Boolean, Boolean)
Declaration
public static Image FromStream(Stream stream, bool p, bool p_3)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | |
System.Boolean | p | |
System.Boolean | p_3 |
Returns
Type |
---|
Image |
Implements
System.IDisposable