ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Reports Namespace / IReportElementFactory Interface / CreateRectangleParagraphGraphicElement Method / CreateRectangleParagraphGraphicElement(IElementContainer,Envelope,String,CIMTextSymbol) Method
IElementContainer
Envelope
The paragraph text content
The text symbol (optional) or null to assign the current default

In This Topic
    CreateRectangleParagraphGraphicElement(IElementContainer,Envelope,String,CIMTextSymbol) Method
    In This Topic
    Creates a dynamic picture element defined by a field on a report from an envelope geometry. 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, _
       Optional ByVal textSymbol As CIMTextSymbol _
    ) As GraphicElement

    Parameters

    elementContainer
    IElementContainer
    envelope
    Envelope
    text
    The paragraph text content
    textSymbol
    The text symbol (optional) or null to assign the current default

    Return Value

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

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also