ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Reports Namespace / IReportElementFactory Interface / CreateDynamicPictureGraphicElement Method / CreateDynamicPictureGraphicElement(IElementContainer,Envelope,String) Method
IElementContainer
Envelope
The url to the picture resource

In This Topic
    CreateDynamicPictureGraphicElement(IElementContainer,Envelope,String) Method
    In This Topic
    Creates a dynamic picture element on a report from an envelope geometry. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    GraphicElement CreateDynamicPictureGraphicElement( 
       IElementContainer elementContainer,
       Envelope envelope,
       string url
    )
    Overloads Function CreateDynamicPictureGraphicElement( _
       ByVal elementContainer As IElementContainer, _
       ByVal envelope As Envelope, _
       ByVal url As String _
    ) As GraphicElement

    Parameters

    elementContainer
    IElementContainer
    envelope
    Envelope
    url
    The url to the picture resource

    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 or higher.
    See Also