Paragraph.SpaceBefore Property 

Returns or sets the spacing (in points) before the specified paragraphs.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim paragraph1 As Paragraph

Dim returnValue As Single
returnValue = paragraph1.SpaceBefore

Dim sampleValue As Single
paragraph1.SpaceBefore = sampleValue

Syntax

Property SpaceBefore() As Single
float SpaceBefore {get; set;}
property Single SpaceBefore{
    Single get();
    Void set(Single);
}
public float get_SpaceBefore();
public void set_SpaceBefore(float);
function get SpaceBefore() : float;
function set SpaceBefore(float);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Paragraph Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Paragraph Members