Share via


_ParagraphFormat.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 _ParagraphFormat
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 WdLineSpacing constants: wdLineSpace1pt5, wdLineSpaceAtLeast, wdLineSpaceDouble, wdLineSpaceExactly, wdLineSpaceMultiple, or wdLineSpaceSingle.

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

_ParagraphFormat Interface

_ParagraphFormat Members

Microsoft.Office.Interop.Word Namespace