2024 Method
Changes 0
M

FormattedText.SetSubscriptStatus

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

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

The given text range should not be empty.

Overloads (2):
SetSubscriptStatus(TextRange,Boolean)
public void SetSubscriptStatus(
	TextRange textRange,
	bool isSubscript
)
  • textRange
    The given text range.
  • Boolean
    isSubscript
    The desired subscript status of characters in the given text range. True to set subscript, false to set not subscript.