Tip:You can also format text as superscript or subscript by selecting options in theFontdialog box, as described in the next procedure. Apply Superscript or Sub script from the font dialog box Select the text that you want to format as superscript or subscript. Go toHome...
Microsoft.Office.Interop.Word.dll 获取并设置字体是否呈现得更小且略高于周围文本的级别。 读/写。 C# publicobjectSuperscript {get;set; } 属性值 Object 如果字体的格式设置为上标,则对象设置为True;否则为 False。 注解 默认为 False 适用于 产品版本 ...
SetmyRange = ActiveDocument.Range(Start:=0,End:=0) myRange.InsertAfter"Superscript in the 4th word."ActiveDocument.Range(Start:=20,End:=22).Font.Superscript =True This example formats the selected text as superscript. VB IfSelection.Type = wdSelectionNormalThenSelection.Font.Superscript =TrueElse...
Microsoft Community Hub Microsoft 365 Word superscript1 Topic Most RecentMost ViewedMost Likes Sub/superscripts get lost in cross-referenced text When creating cross-references to bookmarked text containing superscripts or subscripts, the super/subscripts revert to regular text. For example, X to the ...
Microsoft 365 automatically applies superscript formatting to the ends of ordinal numbers, which are numbers that show the relative position of something in a sequence, such as 21st, 22nd, 23rd, and so on. Here's how you can stop the automatic formatting by canceling su...
Set myRange = ActiveDocument.Range(Start:=0, End:=0) myRange.InsertAfter "Superscript in the 4th word." ActiveDocument.Range(Start:=20, End:=22).Font.Superscript = True 本示例将所选文本设为上标。VB 复制 If Selection.Type = wdSelectionNormal Then Selection.Font.Superscript = True Else Msg...
Set myRange = ActiveDocument.Range(Start:=0, End:=0) myRange.InsertAfter "Superscript in the 4th word." ActiveDocument.Range(Start:=20, End:=22).Font.Superscript = True 本範例會將選取的文字設為上標格式。VB 複製 If Selection.Type = wdSelectionNormal Then Selection.Font.Superscript = True ...
Represents an equation that contains a superscript or subscript to the left of the base. OMathScrSub Represents an equation with a base that contains a subscript. OMathScrSubSup Represents an equation with a base that contains a superscript or subscript. OMathScrSup Represents an equation wit...
Represents an equation that contains a superscript or subscript to the left of the base. OMathScrSub Represents an equation with a base that contains a subscript. OMathScrSubSup Represents an equation with a base that contains a superscript or subscript. OMathScrSup Represents an equation wit...
Can be set to True, False, or wdToggle. Read/write Integer. (Inherited from _Font) Superscript True if the font is formatted as superscript. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Long. (Inherited ...