SetParaRightInd Method

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

Applies to: Shape object

Syntax

object.SetParaRightInd ( iFrom, iTo, RightInd )

The SetParaRightInd 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.
RightInd Required. An expression that returns a Single value. The paragraph indent from the right 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 right 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, SetParaLeftInd method, SetParaLineSpacing method, Paragraph object