ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Reports Namespace / IReportElementFactory Interface / CreateRectangleParagraphGraphicElement Method / CreateRectangleParagraphGraphicElement(IElementContainer,Envelope,String) Method
IElementContainer
Envelope
String

In This Topic
    CreateRectangleParagraphGraphicElement(IElementContainer,Envelope,String) Method
    In This Topic
    Creates a graphic rectangle text element on a layout from an envelope geometry with an added parameter to set the text symbol. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Overloads Function CreateRectangleParagraphGraphicElement( _
       ByVal elementContainer As IElementContainer, _
       ByVal envelope As Envelope, _
       Optional ByVal text As String _
    ) As GraphicElement
    GraphicElement CreateRectangleParagraphGraphicElement( 
       IElementContainer elementContainer,
       Envelope envelope,
       string text
    )

    Parameters

    elementContainer
    IElementContainer
    envelope
    Envelope
    text
    String

    Return Value

    Returns a GraphicElement.
    Remarks
    The element gets added to the group at the topmost position.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also