Share via


Font.Superscript Property

Determines whether the specified text is superscript. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property Superscript As MsoTriState
    Get
    Set
'Usage
Dim instance As Font
Dim value As MsoTriState

value = instance.Superscript

instance.Superscript = value
MsoTriState Superscript { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

Setting the BaselineOffset property to a negative value automatically sets the Subscript property to msoTrue and the Superscript property to msoFalse.

Setting the BaselineOffset property to a positive value automatically sets the Subscript property to msoFalse and the Superscript property to msoTrue.

Setting the Superscript property to msoTrue automatically sets the BaselineOffset property to 0.3 (30 percent).

The value of the Superscript property can be one of these MsoTriState constants.

Constant

Description

msoFalse

The specified text is not superscript. The default.

msoTriStateMixed

Some characters are superscript and some aren't.

msoTrue

The specified text is superscript.

See Also

Reference

Font Interface

Font Members

Microsoft.Office.Interop.PowerPoint Namespace