Skip to main content

ShapeTextFont.Script Property

Formats the text as subscript or superscript.

Namespace: DevExpress.Spreadsheet.Drawings

Assembly: DevExpress.Spreadsheet.v25.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

ScriptType Script { get; set; }

Property Value

Type Description
ScriptType

A ScriptType enumeration value indicating whether the text is subscript or superscript.

Available values:

Name Description
None

Specifies that the text is not formatted as subscript or as superscript.

Superscript

Formats text as superscript.

Subscript

Formats text as subscript.

Remarks

Note

Not all ShapeTextFont properties have effect on the visual appearance of chart elements when a document is loaded in the SpreadsheetControl. However, you can set these properties in code, save the document in a supported format and display it in Microsoft Excel.

See Also