[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyle.Font

Font Property

Font

Gets the IFont object that represents this style's font.

Use this property to access font settings such as bold, size, color, and font name for the style.

Declaration
IFont Font { get; }
ReadOnly Property Font As IFont
Examples
IStyle style = workbook.Styles.Add("headerStyle");
style.Font.Bold = true;
worksheet.Range["A1"].Style = style;
IFont font = style.Font;