[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IFontOption.FontStyle

FontStyle Property

FontStyle

Gets the font style of barcode label text.

The default value is "normal".

Declaration
string FontStyle { get; }
ReadOnly Property FontStyle As String
Examples
worksheet.Range["A1"].Value = "123456789";
worksheet.Range["B1"].Formula =
    "=BC_CODE128(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",true,\"bottom\","
    + "\"auto\",\"Arial\",\"italic\",\"bold\",\"underline\",\"left\",14,10,10,0,0)";
IFontOption fontOption = (IFontOption) worksheet.Range["B1"].Value;
string fontStyle = fontOption.FontStyle;