Paragraph.LineSpacing Property

Definition

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 has been set to the following:

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 method to convert a number of lines to the corresponding value in points.

Applies to