Share via


Paragraphs.LineSpacingRule Property

Returns or sets the line spacing for the specified paragraphs.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property LineSpacingRule As WdLineSpacing
    Get
    Set
'Usage
Dim instance As Paragraphs
Dim value As WdLineSpacing

value = instance.LineSpacingRule

instance.LineSpacingRule = value
WdLineSpacing LineSpacingRule { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdLineSpacing

Remarks

WdLineSpacing can be one of the following constants:

wdLineSpace1pt5

wdLineSpaceAtLeast

wdLineSpaceDouble

wdLineSpaceExactly

wdLineSpaceMultiple

wdLineSpaceSingle

Use wdLineSpaceSingle, wdLineSpace1pt5, or wdLineSpaceDouble to set the line spacing to one of these values. To set the line spacing to an exact number of points or to a multiple number of lines, you must also set the LineSpacing property.

See Also

Reference

Paragraphs Interface

Paragraphs Members

Microsoft.Office.Interop.Word Namespace