Table of contents
TOC
Collapse the table of content
Expand the table of content

Font.AutoRotateNumbers Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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.

ConstantDescription
msoFalseHalf-width numbers are not compressed in lateral columns.
msoTrueDisplays 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

Concepts

Font Object

© 2018 Microsoft