BitmapDecoder::Frames Property
.NET Framework (current version)
Gets the content of an individual frame within a bitmap.
Assembly: PresentationCore (in PresentationCore.dll)
public: property ReadOnlyCollection<BitmapFrame^>^ Frames { virtual ReadOnlyCollection<BitmapFrame^>^ 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.
.NET Framework
Available since 3.0
Available since 3.0
Show: