SetParaLineSpacing Method

Sets the line spacing for the specified paragraph of the shape.

Applies to: Shape object

Syntax

object.SetParaLineSpacing ( iFrom, iTo, LineSpacing )

The SetParaLineSpacing method syntax has these parts:

Part Description
object Required. An expression that returns a Shape object.
iFrom Required. An expression that returns a Long value. The index of the first character of the paragraph.
iTo Required. An expression that returns a Long value. The index of the last character of the paragraph.
LineSpacing Required. An expression that returns a Single value. The line spacing value for the specified paragraph.

Remarks

Note, that if the paragraph collection of the shape doesn't contain the paragraph that corresponds to the character sequence within the iFrom to iTo range, the SetParaLineSpacing method adds a new paragraph and sets the specified line spacing to it.

If the iFrom and iTo parameters were specified incorrectly, no changes are made. The paragraph spacing is measured in internal units (InternalUnit).

 

See Also

GetParagraphIndex method, Paragraph method, ParagraphsNum method, RemoveParagraph method, SetParaAfterSpacing method, SetParaBeforeSpacing method, SetParaFirstInd method, SetParaHAlign method, SetParaLeftInd method, SetParaRightInd method, Paragraph object