[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFontFormat.Superscript

Superscript Property

Superscript

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

This property indicates whether superscript formatting is applied to the represented text. The default value is false.

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