Font.AutoRotateNumbers Property
Returns or sets lateral compression. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property AutoRotateNumbers As MsoTriState
Get
Set
'Usage
Dim instance As Font
Dim value As MsoTriState
value = instance.AutoRotateNumbers
instance.AutoRotateNumbers = value
MsoTriState AutoRotateNumbers { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoTriState
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. |
Examples
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