[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IInterior.PatternColorIndex

PatternColorIndex Property

PatternColorIndex

Gets or sets the color of the interior pattern as an index into the current color palette, or as one of the following constants: ColorIndexAutomatic or ColorIndexNone.

Declaration
int PatternColorIndex { get; set; }
Property PatternColorIndex As Integer
Property Value
Type Description
int

An integer value represents the index of the pattern color.

Remarks

The value returned by PatternColorIndex is different than the stored value from the internal storage.

Set this property to ColorIndexAutomatic to specify the automatic pattern for cells or the automatic fill style for drawing objects.

Set this property to ColorIndexNone to specify that you don't want a pattern.