Returns the paragraph index in the paragraph collection of the shape by the specified character index in the text string of the shape.
Applies to: Shape object
[[Let] paragraphIndexRet =] object.GetParagraphIndex ( symbolIndex ) |
The GetParagraphIndex method syntax has these parts:
Part | Description |
object | Required. An expression that returns a Shape object. |
symbolIndex | Required. An expression that returns a Long value. The index of the character in the text string of the shape. |
paragraphIndexRet | Optional. A Long type variable. |
If index is less than 1 or greater than the number of characters in the text string of the shape, the GetParagraphIndex method returns 0.