Partager via


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

Concepts

Font Object

Font Object Members