TextEffectFormat.ToggleVerticalText Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Switches the text flow in the specified WordArt from horizontal to vertical, or vice versa.
public:
void ToggleVerticalText();
public void ToggleVerticalText ();
Public Sub ToggleVerticalText ()
Remarks
Using the ToggleVerticalText method swaps the values of the Width and Height properties of the Shape object that represents the WordArt and leaves the Left and Top properties unchanged.
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 the 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.