[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IFontOption.FontTextAlign

FontTextAlign Property

FontTextAlign

Gets the alignment of barcode label text.

The default value is "center".

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