[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFontFormat.Italic

Italic Property

Italic

Gets or sets whether the represented text is italicized.

Declaration
bool Italic { get; set; }
Property Italic As Boolean
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 100},
    {"Feb", 120}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"], RowCol.Columns, true, true);
chart.HasDataTable = true;
chart.DataTable.Font.Italic = true;
bool italic = chart.DataTable.Font.Italic;