Method GetColorContext
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Data.dll
GetColorContext()
Gets a reference to the color context (color profile) for the document.
public IColorContext GetColorContext()
Returns
Remarks
This method never returns null. If the document does not have an embedded color profile, or if it has an invalid one, then this method will return an appropraite default color context (e.g. sRGB).