XlFontBase.Script Property
Formats the cell content as subscript or superscript.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public XlScriptType Script { get; set; }
#Property Value
Type | Description |
---|---|
Xl |
An Xl |
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.