[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFontFormat.Subscript

Subscript Property

Subscript

Gets or sets whether the represented text is formatted as subscript.

This property indicates whether the current character formatting applies subscript to the text.

Declaration
bool Subscript { get; set; }
Property Subscript As Boolean
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.TextFrame.TextRange.Text = "H2O";
shape.TextFrame.TextRange.Font.Subscript = true;
bool subscript = shape.TextFrame.TextRange.Font.Subscript;