[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ILabelOptions.ForeColor

ForeColor Property

ForeColor

Gets or sets the color of the watermark in the range.

This property applies the foreground color to the watermark label for the range. SpreadJS only.

Declaration
Color ForeColor { get; set; }
Property ForeColor As Color
Examples
IRange range = worksheet.Range["A1"];
range.Watermark = "Required";
range.LabelOptions.ForeColor = Color.Red;
Color color = range.LabelOptions.ForeColor;