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)
Usage
Dim paragraphs1 As Paragraphs
Dim returnValue As WdLineSpacing
returnValue = paragraphs1.LineSpacingRule
Dim sampleValue As WdLineSpacing
paragraphs1.LineSpacingRule = sampleValue
Syntax
Property LineSpacingRule() As WdLineSpacing
WdLineSpacing LineSpacingRule {get; set;}
property WdLineSpacing^ LineSpacingRule{
WdLineSpacing^ get();
Void set(WdLineSpacing^);
}
public WdLineSpacing get_LineSpacingRule();
public void set_LineSpacingRule(WdLineSpacing);
function get LineSpacingRule() : WdLineSpacing;
function set LineSpacingRule(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.
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
Paragraphs Interface
Microsoft.Office.Interop.Word Namespace