Show / Hide Table of Contents

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.

Inheritance
System.Object
RgbColorOrPaletteEntry
Namespace: DRIT.Spreadsheet.Forms
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RgbColorOrPaletteEntry : object
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
System.UInt16

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
System.Byte
Back to top Generated by DocFX