LineUnitBefore Property

Microsoft Word Visual Basic

LineUnitBefore Property

       

Returns or sets the amount of spacing (in gridlines) before the specified paragraphs. Read/write Single.

expression.LineUnitBefore

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

Remarks

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

Example

This example sets the spacing before the second paragraph in the active document to one gridline.

ActiveDocument.Paragraphs(2).LineUnitBefore = 1