Indicator interface that identifies Paragraph Text Element objects.
IParagraphTextElement is an idicator interface that can be used to check to see if an element is a ParagraphTextElement.
| CoClasses and Classes | Description |
|---|---|
| ParagraphTextElement | The Graphic Element to display text which flows into an area geometry. |
IParagraphTextElement is an indicator interface that is used to verify that an element is a ParagraphTextElement. This interface is often used when cycling through a large number of TextElements in siutations where ParagraphTextElements need to be handled differently.
Assuming a reference to an element implementing IElement has been obtained (pElement), you can check if an element implements IParagraphTextElement with the following code:
If TypeOf pElement Is IParagraphTextElement Then
MsgBox "This element is a paragraph text element"
Else
MsgBox "This element is not a paragraph text element"
End If