BitmapDecoder.ColorContexts Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that represents the color profile associated with a bitmap, if one is defined.

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

public virtual ReadOnlyCollection<ColorContext> ColorContexts { get; }

Property Value

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

An instance of ColorContext that represents the embedded color profile of the bitmap. If no color profile has been defined, this property returns null. This property has no default value.

.NET Framework
Available since 3.0
Return to top
Show: