Class RgbColorOrPaletteEntry
Specifies the red, green, and blue values of a color or an index into a color palette, based on the value of an associated OleColorType.
Inherited Members
Namespace: DRIT.Spreadsheet.Forms
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RgbColorOrPaletteEntry
Remarks
2.4.11 RgbColorOrPaletteEntry
Constructors
RgbColorOrPaletteEntry()
Specifies the red, green, and blue values of a color or an index into a color palette, based on the value of an associated OleColorType.
Declaration
public RgbColorOrPaletteEntry()
Remarks
2.4.11 RgbColorOrPaletteEntry
Properties
GreenAndBlueOrPaletteIndex
An unsigned integer that specifies the green and blue values of a color or an index into a color palette. If the value of the associated OleColorType is PaletteEntry or SystemPalette, or if the value is set to Default and the client application determines that the color is a PaletteEntry, this field is an index into the corresponding color palette. Otherwise, the low-order byte specifies the blue value of a color and the high-order byte specifies the green value of the color.
Declaration
public ushort GreenAndBlueOrPaletteIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
Remarks
2.4.11 RgbColorOrPaletteEntry
Red
An unsigned integer that specifies the red value of a color. If the value of the associated OleColorType is PaletteEntry or SystemPalette, or if the value is set to Default and the client application determines that the color is a PaletteEntry, this field MUST be set to zero.
Declaration
public byte Red { get; set; }
Property Value
| Type | Description |
|---|---|
| byte |
Remarks
2.4.11 RgbColorOrPaletteEntry