Font.Subscript Property
PowerPoint Developer Reference |
Determines whether the specified text is subscript. Read/write.
Syntax
expression.Subscript
expression A variable that represents a Font object.
Return Value
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 |
---|---|
msoFalse | The specified text is not subscript. The default. |
msoTriStateMixed | Some characters are subscript and some aren't. |
msoTrue | The specified text is subscript. |
Example
This example enlarges the first character in the title on slide one if that character is subscript.
Visual Basic for Applications |
---|
|
See Also