Table of Contents

Method TryGetKnownColorSpace

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

TryGetKnownColorSpace(IColorContext, out KnownColorSpace)

Attempts to identify the color space of the given color profile.

public static bool TryGetKnownColorSpace(this IColorContext colorContext, out KnownColorSpace result)

Parameters

colorContext IColorContext
result KnownColorSpace

Returns

bool

TryGetKnownColorSpace(IColorContext)

Attempts to identify the color space of the given color profile.

public static KnownColorSpace? TryGetKnownColorSpace(this IColorContext colorContext)

Parameters

colorContext IColorContext

Returns

KnownColorSpace?