Returns a Paragraph object that corresponds to a paragraph with the specified index in the paragraph collection of the shape.
Applies to: Shape object
[[Set] paragraphRet =] object.Paragraph ( index ) |
The Paragraph method syntax has these parts:
Part | Description |
object | Required. An expression that returns a Shape object. |
index | Required. An expression that returns a Long value. The index of the paragraph in the paragraph collection of the shape. |
paragraphRet | Optional. A Paragraph type variable. |
If index is less than 1 or greater than the number of paragraphs of the shape, the Paragraph method returns Nothing. To find out the number of paragraphs of the shape, use the ParagraphsNum method.