[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDisplayFormat.Interior

Interior Property

Interior

Gets an IInterior object that represents the interior of the associated range object as displayed in the current user interface.

Declaration
IInterior Interior { get; }
ReadOnly Property Interior As IInterior
Examples
IRange range = worksheet.Range["A1"];
range.Value = 1234.56;
range.Interior.Color = Color.Yellow;
IFormatCondition condition = (IFormatCondition) range.FormatConditions.Add(
    FormatConditionType.CellValue, FormatConditionOperator.Greater, "1000", null);
condition.Interior.Color = Color.Blue;
IInterior interior = range.DisplayFormat.Interior;
Color color = interior.Color;