[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IFontOption.FontFamily

FontFamily Property

FontFamily

Gets the font family of barcode label text.

The default value is "sans-serif".

Declaration
string FontFamily { get; }
ReadOnly Property FontFamily 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 fontFamily = fontOption.FontFamily;