officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-characterpropertiesbase-26de0a1c.md
Gets or sets a value indicating whether character(s) are formatted as subscript.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
bool? Subscript { get; set; }
Property Subscript As Boolean?
| Type | Description |
|---|---|
| Nullable<Boolean> |
true if character(s) are formatted as subscript; otherwise, false or null for a mixture of true and false.
|
Use the CharacterProperties interface to change character formatting.
Important
The CharacterPropertiesBase.Subscript and CharacterPropertiesBase.Superscript properties are interdependent, so that if one property is set to false , the other property becomes also false.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Subscript property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-spreadsheet-how-to-edit-rich-text/VB/SpreadsheetRichText/RichTextEditForm.vb#L28
Case ScriptType.Subscript
cp.Subscript = True
Case ScriptType.Superscript
See Also
CharacterPropertiesBase Interface