Font.AutoRotateNumbers property (PowerPoint)
Returns or sets lateral compression. Read/write.
Syntax
expression. AutoRotateNumbers
expression A variable that represents an Font object.
Return value
MsoTriState
Remarks
The value of the AutoRotateNumbers property can be one of these MsoTriState constants.
Constant | Description |
---|---|
msoFalse | Half-width numbers are not compressed in lateral columns. |
msoTrue | Displays half-width numbers within vertical text in two-character lateral columns. |
Example
This example sets the text direction of shape three on the first slide to vertical text, and sets lateral column compression.
Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(3).TextFrame
.Orientation = msoTextOrientationVerticalFarEast
.TextRange.Font.AutoRotateNumbers = msoTrue
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.