officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-characterpropertiesbase-f6f69d57.md
Gets or sets a value indicating whether character(s) are formatted as superscript.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
bool? Superscript { get; set; }
Property Superscript As Boolean?
| Type | Description |
|---|---|
| Nullable<Boolean> |
true if character(s) are formatted as superscript; 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 Superscript 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#L30
Case ScriptType.Superscript
cp.Superscript = True
Case Else
See Also
CharacterPropertiesBase Interface