ArcGIS Pro 2.9 API Reference Guide
CreateDynamicPictureGraphicElement(ILayoutElementContainer,Envelope,String) Method

ArcGIS.Desktop.Reports Namespace > IReportElementFactory Interface > CreateDynamicPictureGraphicElement Method : CreateDynamicPictureGraphicElement(ILayoutElementContainer,Envelope,String) Method
ILayoutElementContainer
Envelope
The url to the picture resource
Creates a dynamic picture element on a report from an envelope geometry. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Overloads Function CreateDynamicPictureGraphicElement( _
   ByVal elementContainer As ILayoutElementContainer, _
   ByVal envelope As Envelope, _
   ByVal url As String _
) As GraphicElement

Parameters

elementContainer
ILayoutElementContainer
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, Windows 8.1

See Also

Reference

IReportElementFactory Interface
IReportElementFactory Members
Overload List