<Code Lib>
2020 Method
Changes 0
M

FormattedText.SetSuperscriptStatus(TextRange, Boolean)

Description:
Sets the characters in a given text range to be superscript or not superscript.
Remarks:

Superscript and subscript are mutually exclusive. Applying the superscript status will automatically remove the subscript status.

The given text range should not be empty.

Overloads (2):
SetSuperscriptStatus(TextRange,Boolean)

public void SetSuperscriptStatus(
	TextRange textRange,
	bool isSuperscript
)

  • textRange
    The given text range.
  • isSuperscript
    The desired superscript status of characters in the given text range. True to set superscript, false to set not superscript.

Loading…