Namespace: PdfSharp.Drawing
Provides functionality to save a bitmap image in a specific format.
public abstract class XBitmapEncoder
Inheritance Object → XBitmapEncoder
Gets or sets the bitmap source to be encoded.
public XBitmapSource Source { get; set; }
Gets a new instance of the PNG image encoder.
public static XBitmapEncoder GetPngEncoder()
When overridden in a derived class saves the image on the specified stream in the respective format.
public abstract void Save(Stream stream)
stream
Stream