HorizontalInVertical Property

Microsoft Word Visual Basic

WdHorizontalInVerticalType can be one of these WdHorizontalInVerticalType constants.
wdHorizontalInVerticalNone
wdHorizontalInVerticalFitInLine
wdHorizontalInVerticalResizeLine

expression.HorizontalInVertical

expression    Required. An expression that returns a Range object.

Remarks

For more information on using Microsoft Word with East Asian languages, see Word features for East Asian languages.

Example

This example formats the current selection as horizontal text within a run of vertical text, fitting the text to the line width of the vertical text.

Selection.Range.HorizontalInVertical = wdHorizontalInVerticalFitInLine