Returns the number of paragraphs in the paragraph collection of the shape.
Applies to: Shape object
[[Let] countRet =] object.ParagraphsNum () |
The ParagraphsNum method syntax has these parts:
Part | Description |
object | Required. An expression that returns a Shape object. |
countRet | Optional. A Long type variable. |
If the shape doesn't contain text, it doesn't contain any paragraphs, so in this case the ParagraphsNum method returns 0.