Partager via


TextEffectFormat.RotatedChars Property

Determines whether characters in the specified WordArt are rotated 90 degrees relative to the WordArt's bounding shape. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property RotatedChars As MsoTriState
    Get
    Set
'Usage
Dim instance As TextEffectFormat
Dim value As MsoTriState

value = instance.RotatedChars

instance.RotatedChars = value
MsoTriState RotatedChars { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

If the WordArt has horizontal text, setting the RotatedChars property to msoTrue rotates the characters 90 degrees counterclockwise. If the WordArt has vertical text, setting the RotatedChars property to msoFalse rotates the characters 90 degrees clockwise. Use the ToggleVerticalText() method to switch between horizontal and vertical text flow.

The Flip(MsoFlipCmd) method and Rotation property of the Shape object and the RotatedChars property and ToggleVerticalText() method of the TextEffectFormat object all affect the character orientation and direction of text flow in a Shape object that represents WordArt. You may have to experiment to find out how to combine the effects of these properties and methods to get the result you want.

The value returned by the RotatedChars property can be one of the following MsoTriState constants:

Constant

Description

msoFalse

Characters in the specified WordArt retain their original orientation relative to the bounding shape.

msoTrue

Characters in the specified WordArt are rotated 90 degrees relative to the WordArt's bounding shape.

See Also

Reference

TextEffectFormat Interface

TextEffectFormat Members

Microsoft.Office.Interop.PowerPoint Namespace