• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
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
object
RgbColorOrPaletteEntry
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX