BaseLineAlignment Property

Microsoft Word Visual Basic

Show All

BaseLineAlignment Property

       

Returns or sets a WdBaselineAlignment constant that represents the vertical position of fonts on a line. Read/write.

WdBaselineAlignment can be one of these WdBaselineAlignment constants.
wdBaselineAlignAuto
wdBaselineAlignCenter
wdBaselineAlignTop
wdBaselineAlignBaseline
wdBaselineAlignFarEast50

expression.BaseLineAlignment

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets Microsoft Word to automatically adjust the baseline font alignment in the active document.

ActiveDocument.BaseLineAlignment = wdBaselineAlignAuto