Back to Devexpress

ShapeTextFont.Script Property

officefileapi-devexpress-dot-spreadsheet-dot-drawings-dot-shapetextfont-5bfbe49b.md

latest1.7 KB
Original Source

ShapeTextFont.Script Property

Formats the text as subscript or superscript.

Namespace : DevExpress.Spreadsheet.Drawings

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
ScriptType Script { get; set; }
vb
Property Script As ScriptType

Property Value

TypeDescription
ScriptType

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

|

Available values:

NameDescription
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

ShapeTextFont Interface

ShapeTextFont Members

DevExpress.Spreadsheet.Drawings Namespace