[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.CpalPalette

Class CpalPalette

Namespace
GrapeCity.Documents.Text
Assembly
GcDocs.Imaging.dll

Contains a predefined number of colors. Used for drawing color fonts.

public class CpalPalette
Inheritance
object
CpalPalette
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

CpalPalette(uint[])

Initializes a new instance of the CpalPalette class.

public CpalPalette(uint[] colors)

Parameters

colors uint[]

The array of palette entries in ARGB format.

Properties

Colors

Gets the array of palette entries. Each color has ARGB format.

public uint[] Colors { get; }

Property Value

uint[]

Label

Gets or sets a user interface string associated with the palette.

public string Label { get; set; }

Property Value

string

UsableWithDarkBackground

Gets or sets a value indicating if the palette is appropriate to use when displaying the font on a dark background such as black.

public bool UsableWithDarkBackground { get; set; }

Property Value

bool

UsableWithLightBackground

Gets or sets a value indicating if the palette is appropriate to use when displaying the font on a light background such as white.

public bool UsableWithLightBackground { get; set; }

Property Value

bool