Version

SuperscriptSubscriptStyle Property (FormattedFontBase)

Gets or sets the value indicating whether the font is superscript or subscript.
Syntax
public FontSuperscriptSubscriptStyle SuperscriptSubscriptStyle {get; set;}

Property Value

The value indicating whether the font is superscript or subscript.
Exceptions
ExceptionDescription
Infragistics.Documents.Excel.MockClasses.InvalidEnumArgumentExceptionThe value assigned is not defined in the FontSuperscriptSubscriptStyle enumeration.
System.InvalidOperationException The formatted string or text associated with the font is not assigned to a cell, comment, or shape.
System.InvalidOperationException The font's selection range is outside the valid character range of the associated formatted string or text.
Remarks

All characters in the selection range of this font will be affected by setting this property. Getting this property will return a value which indicates the formatting of the first character in this font's range.

Note: default values cannot be used in FormattedString values applied to cells. If this font belongs to a FormattedString which is the value of a cell, and a default value is assigned, it will be ignored.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also