ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / IElementFactory Interface / CreatePictureGraphicElement Method
The parent element container
The picture graphic envelope (frame) or center point
The url of the image to use
An element name (optional)
Select after create flag (default is true) (optional)
Additional element properties (optional)
Version

    CreatePictureGraphicElement Method (IElementFactory)
    Creates a picture graphic element based on the input geometry and symbol.
    Syntax

    Parameters

    elementContainer
    The parent element container
    frameOrLocation
    The picture graphic envelope (frame) or center point
    url
    The url of the image to use
    elementName
    An element name (optional)
    select
    Select after create flag (default is true) (optional)
    elementInfo
    Additional element properties (optional)

    Return Value

    Remarks
    If a point is specified, the picture frame is sized to the extent of the content. If an envelope is specified, the content is sized to fit the extent of the frame.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also