Share via


Paragraph.SpaceBefore Property

Word Developer Reference

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

Syntax

expression.SpaceBefore

expression   Required. A variable that represents a Paragraph object.

Example

This example sets the spacing before the second paragraph in the active document to 12 points.

Visual Basic for Applications
  ActiveDocument.Paragraphs(2).SpaceBefore = 12

See Also