ArcObjects Library Reference  (Carto)    

IParagraphTextElement Interface

Indicator interface that identifies Paragraph Text Element objects.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

IParagraphTextElement is an idicator interface that can be used to check to see if an element is a ParagraphTextElement.

CoClasses that implement IParagraphTextElement

CoClasses and Classes Description
ParagraphTextElement The Graphic Element to display text which flows into an area geometry.

Remarks

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.

[Visual Basic 6.0]

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

 

 


Feedback Send feedback on this page