Class PngBitmapEncoder
Encodes a collection of BitmapFrame objects to a PNG image stream.
Inherited Members
Namespace: Telerik.Windows.Media.Imaging
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class PngBitmapEncoder : BitmapEncoder, IDisposable
Constructors
PngBitmapEncoder()
Initializes a new instance of the PngBitmapEncoder class.
Declaration
public PngBitmapEncoder()
Properties
CodecInfo
Gets information that describes this codec.
Declaration
public override BitmapCodecInfo CodecInfo { get; }
Property Value
BitmapCodecInfo
|
Overrides
Methods
Dispose()
Disposes the encoder.
Declaration
public override sealed void Dispose()
Overrides
Implements
Dispose(Boolean)
Disposes the encoder.
Declaration
protected virtual void Dispose(bool cleanUpBoth)
Parameters
System.Boolean
cleanUpBoth
Clean up. |
Save(Stream)
Encodes a bitmap image to a specified System.IO.Stream.
Declaration
public override void Save(Stream stream)
Parameters
System.IO.Stream
stream
Stream. |
Overrides
Save(Stream, PngBitmapEncoderSettings)
Saves the specified stream.
Declaration
public void Save(Stream stream, PngBitmapEncoderSettings settings)
Parameters
System.IO.Stream
stream
The stream. |
PngBitmapEncoderSettings
settings
The settings. |