Skip to end of metadata
Go to start of metadata

Description

Sets or returns a ScriptType object that represents whether the text in this formatting is set to superscript, subscript, or none.
C#
public ScriptType SuperSubScript{ get; set; }
vb.net
Public Property SuperSubScript() As ScriptType

Remarks

MS Word equivalent: Format menu > Font... > Font tab > Effects section > Superscript and Subscript

Examples

C#
          //--- Return ScriptType
          Font.ScriptType oSuperSubScript = oFont.SuperSubScript;

          //--- Set SuperSubScript to superscript
          oFont.SuperSubScript = Font.ScriptType.Super;
        
vb.net
          '--- Return SuperSubScript
          Dim oSuperSubScript As Font.ScriptType = oFont.SuperSubScript

          '--- Set SuperSubScript to superscript
          oFont.SuperSubScript = Font.ScriptType.Super
        
  • No labels