Gets or sets a value that indicates whether the font is formatted as superscript.
[Visual Basic] Property Superscript As Boolean [C#] bool Superscript { get; set; } [C++] __property bool get_Superscript(); __property void set_Superscript(bool ); [JScript] function get Superscript() : bool function set Superscript(bool);
true if the font is formatted as superscript; otherwise, false.
This example sets the font in the cell A1 to superscript.
[C#]
book.Worksheets[1].Range["A1"].Font.Superscript = true;
[Visual Basic]
book.Worksheets(1).Range("A1").Font.Superscript = true
[C++]
book->Worksheets->Item[1]->Range->Item[S"A1"]->Font->Superscript = true;
IFont Interface | NativeExcel Namespace