Share via


ITextParagraphFormat.SetLineSpacing(LineSpacingRule, Single) Method

Definition

Sets the paragraph line-spacing rule and the amount of line spacing for a paragraph.

public void SetLineSpacing(LineSpacingRule rule, float spacing);

Parameters

rule
LineSpacingRule

The new line-spacing rule.

spacing
Single

The new line spacing amount. If the line-spacing rule interprets the spacing value as a linear dimension, spacing is given in floating-point points.

Remarks

Because the line-spacing rule and line spacing work together, they must be set together.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also