ITextParagraphFormat.SetLineSpacing(LineSpacingRule, Single) Method
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.
Sets the paragraph line-spacing rule and the amount of line spacing for a paragraph.
public:
void SetLineSpacing(LineSpacingRule rule, float spacing);
void SetLineSpacing(LineSpacingRule const& rule, float const& spacing);
public void SetLineSpacing(LineSpacingRule rule, float spacing);
function setLineSpacing(rule, spacing)
Public Sub SetLineSpacing (rule As LineSpacingRule, spacing As Single)
Parameters
- rule
- LineSpacingRule
The new line-spacing rule.
- spacing
-
Single
float
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.