Skip to content

Latest commit

 

History

History
68 lines (39 loc) · 2.48 KB

PowerPoint.TextEffectFormat.RotatedChars.md

File metadata and controls

68 lines (39 loc) · 2.48 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
TextEffectFormat.RotatedChars property (PowerPoint)
vbapp10.chm556012
vbapp10.chm556012
PowerPoint.TextEffectFormat.RotatedChars
ae12e31d-d86b-73d2-ab92-a2d6bc8a2036
06/08/2017
medium

TextEffectFormat.RotatedChars property (PowerPoint)

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

Syntax

expression. RotatedChars

expression A variable that represents a TextEffectFormat object.

Return value

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 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 of the RotatedChars property can be one of these 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.

Example

This example adds WordArt that contains the text "Test" to myDocument and rotates the characters 90 degrees counterclockwise.

Set myDocument = ActivePresentation.Slides(1)

Set newWordArt = myDocument.Shapes.AddTextEffect _
    (PresetTextEffect:=msoTextEffect1, Text:="Test", _
    FontName:="Arial Black", FontSize:=36, _
    FontBold:=msoFalse, FontItalic:=msoFalse, Left:=10, Top:=10)

newWordArt.TextEffect.RotatedChars = msoTrue

See also

TextEffectFormat Object

[!includeSupport and feedback]