_ParagraphFormat.LineSpacing Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the line spacing (in points) for the specified paragraphs.
public:
property float LineSpacing { float get(); void set(float value); };
public float LineSpacing { get; set; }
member this.LineSpacing : single with get, set
Public Property LineSpacing As Single
Property Value
Remarks
The LineSpacing property can be set after the LineSpacingRule property have been set to:
wdLineSpaceAtLeast - the line spacing can be greater than or equal to, but never less than, the specified LineSpacing value.
wdLineSpaceExactly - the line spacing never changes from the specified LineSpacing value, even if a larger font is used within the paragraph.
wdLineSpaceMultiple - a LineSpacing property value must be specified, in points.
Use the LinesToPoints(Single) method to convert a number of lines to the corresponding value in points. For example, LinesToPoints(2) returns the value 24.