SetParaLeftInd Method

Sets the distance the paragraph's text is indented from the left edge of the text block.

Applies to: Shape object

Syntax

object.SetParaLeftInd ( iFrom, iTo, LeftInd )

The SetParaLeftInd 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.
LeftInd Required. An expression that returns a Single value. The paragraph indent from the left edge of the text box.

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 SetParaLeftInd method adds a new paragraph and applies the specified left indent 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, SetParaLineSpacing method, SetParaRightInd method, Paragraph object