CodecInfo Property

BitmapEncoder.CodecInfo Property


Gets information that describes this . GTMT

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

abstract CodecInfo : BitmapCodecInfo with get
override CodecInfo : BitmapCodecInfo with get

A BitmapCodecInfo implementation is required for every .GTMT

Legacy Code Example

The following example shows how to read information from a BitmapCodecInfo object and send it to a string.

Dim stream As New FileStream("empty.tif", FileMode.Create)
Dim encoder As New TiffBitmapEncoder()
Dim myTextBlock As New TextBlock()
myTextBlock.Text = "Codec Author is: " + encoder.CodecInfo.Author.ToString()

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft