Class XBitmapEncoder
Provides functionality to save a bitmap image in a specific format.
public abstract class XBitmapEncoder
- Inheritance
-
XBitmapEncoder
- Inherited Members
Properties
Source
Gets or sets the bitmap source to be encoded.
public XBitmapSource Source { get; set; }
Property Value
Methods
GetPngEncoder()
Gets a new instance of the PNG image encoder.
public static XBitmapEncoder GetPngEncoder()
Returns
Save(Stream)
When overridden in a derived class saves the image on the specified stream in the respective format.
public abstract void Save(Stream stream)
Parameters
stream
Stream