XlFontBase.Script Property
Formats the cell content as subscript or superscript.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Property Value
Type | Description |
---|---|
XlScriptType | An XlScriptType enumeration member indicating whether the text is subscript or superscript. |
Available values:
Name | Description |
---|---|
Baseline | Specifies that the cell text should be located at the normal baseline and should have the same size as the surrounding text. |
Superscript | Specifies that the cell text should be formatted as superscript. |
Subscript | Specifies that the cell text should be formatted as subscript. |
Remarks
To specify all the required font characteristics, use the XlFont object properties such as XlFontBase.Name, XlFontBase.Size, XlFontBase.Underline, XlFont.Color etc. For an example on how to apply font settings to an individual cell, refer to the How to: Configure Cell Font Settings article.