ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Reports Namespace / ReportElementFactory Class / CreateDynamicPictureGraphicElement Method / CreateDynamicPictureGraphicElement(IElementContainer,Envelope,CIMReportField) Method
IElementContainer
Envelope
A field as the source.

In This Topic
    CreateDynamicPictureGraphicElement(IElementContainer,Envelope,CIMReportField) 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
    Public Overloads Function CreateDynamicPictureGraphicElement( _
       ByVal elementContainer As IElementContainer, _
       ByVal envelope As Envelope, _
       ByVal reportField As CIMReportField _
    ) As GraphicElement

    Parameters

    elementContainer
    IElementContainer
    envelope
    Envelope
    reportField
    A field as the source.

    Return Value

    Returns a GraphicElement.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    reportField is null.
    Invalid report section.
    Invalid report.
    Element extents outside section.
    Dynamic picture elements only valid in details section.
    Failed to create picture graphic.
    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