[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IFontOption.FontSize

FontSize Property

FontSize

Gets the numeric font size of barcode label text.

The return type is int. The default value is 12, which corresponds to the formula parameter default of 12px.

Declaration
int FontSize { get; }
ReadOnly Property FontSize As Integer
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;
int fontSize = fontOption.FontSize;