Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IFont Interface / ColorIndex Property


In This Topic
    ColorIndex Property (IFont)
    In This Topic
    Gets or sets an integer value that represents the indexed color of the font.
    Syntax
    'Declaration
     
    
    Property ColorIndex As Integer
    'Usage
     
    
    Dim instance As IFont
    Dim value As Integer
     
    instance.ColorIndex = value
     
    value = instance.ColorIndex
    int ColorIndex {get; set;}

    Property Value

    An integer value represents the indexed color of the font.
    Remarks

    Set this property to Color.ColorIndexAutomatic to specify the automatic color.

    Set this property to Color.ColorIndexNone to specify there is no color.

    See Also