ColorContext Class
Represents the International Color Consortium (ICC) or Image Color Management (ICM) color profile that is associated with a bitmap image.
Assembly: PresentationCore (in PresentationCore.dll)
| Name | Description | |
|---|---|---|
![]() | ColorContext(PixelFormat) | Initializes a new instance of ColorContext with the standard color profile (sRGB or RGB ) that most closely matches the supplied PixelFormat. |
![]() | ColorContext(Uri^) | Initializes a new instance of ColorContext with the International Color Consortium (ICC) or Image Color Management (ICM) color profile located at a given Uri. |
| Name | Description | |
|---|---|---|
![]() | ProfileUri | Gets a Uri that represents the location of a International Color Consortium (ICC) or Image Color Management (ICM) color profile. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether an Object is equal to an instance of ColorContext.(Overrides Object::Equals(Object^).) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Gets the hash code for this instance of ColorContext. (Overrides Object::GetHashCode().) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | OpenProfileStream() | Returns a readable Stream of raw color profile data. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(ColorContext^, ColorContext^) | Operates on two instances of ColorContext to determine equality. |
![]() ![]() | Inequality(ColorContext^, ColorContext^) | Operates on two instances of ColorContext to determine that they are not equal. |
The supported standard color spaces are sRGB, ScRGB, RGB, CMYK, Gray, Multichannel, and unknown.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




