Table of Contents

Class XBitmapEncoder

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

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

XBitmapSource

Methods

GetPngEncoder()

Gets a new instance of the PNG image encoder.

public static XBitmapEncoder GetPngEncoder()

Returns

XBitmapEncoder

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