Frames Property

BitmapDecoder.Frames Property


Gets the content of an individual frame within a bitmap.

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

abstract Frames : ReadOnlyCollection<BitmapFrame> with get
override Frames : ReadOnlyCollection<BitmapFrame> with get

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<BitmapFrame>

An instance of BitmapFrame. This property has no default value.

Only Tagged Image File Format (TIFF) and Graphics Interchange Format (GIF) images support more than one frame.

Any BitmapFrame objects returned by this property are frozen.

The following code example demonstrates how to use a BitmapFrame as a BitmapSource.

No code example is currently available or this language may not be supported.

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