Table of Contents

Class XColorResourceManager

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Manages the localization of the color class.

public class XColorResourceManager
Inheritance
object
XColorResourceManager

Constructors

XColorResourceManager()

Initializes a new instance of the XColorResourceManager class.

XColorResourceManager(CultureInfo)

Initializes a new instance of the XColorResourceManager class.

Methods

GetKnownColor(uint)

Gets a known color from an ARGB value. Throws an ArgumentException if the value is not a known color.

GetKnownColors(bool)

Gets all known colors.

ToColorName(XColor)

Converts a color to a localized color name or an ARGB value.

ToColorName(XKnownColor)

Converts a known color to a localized color name.