Font.Subscript Property
Determines whether the specified text is subscript. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property Subscript As MsoTriState
Get
Set
'Usage
Dim instance As Font
Dim value As MsoTriState
value = instance.Subscript
instance.Subscript = value
MsoTriState Subscript { 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 Subscript property to msoTrue automatically sets the BaselineOffset property to – 0.25 ( – 25 percent).
The value of the Subscript property can be one of these MsoTriState constants.
Constant |
Description |
---|---|
The specified text is not subscript. The default. |
|
Some characters are subscript and some aren't. |
|
The specified text is subscript. |