[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.CpalPalette

CpalPalette Class

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

Inheritance
CpalPalette
Namespace: GrapeCity.Documents.Text
Assembly: DS.Documents.Imaging.dll
Syntax
public class CpalPalette
Public Class CpalPalette

Constructors

Name Description
CpalPalette(uint[])

Initializes a new instance of the CpalPalette class.

Properties

Name Description
Colors

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

Label

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

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.

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.