ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMPictureGraphic Class / PictureURL Property
Example

In This Topic
    PictureURL Property
    In This Topic
    Gets or sets the URL of the picture graphic. Typically a base64 encoded representation of the picture.
    Syntax
    Public Property PictureURL As String
    public string PictureURL {get; set;}
    Example
    Graphic Overlay with CIMPictureGraphic
    {
      // Use SourceURL for the URL to the image content. For
      // a local file, use a file path. For a web/internet file
      // location, use its URL
      //
      // Supported image types are:
      // png, jpg, tiff, bmp, gif, svg
    
      var pictureGraphic = new CIMPictureGraphic
      {
        SourceURL = @"C:\Images\MyImage.png",
        Shape = envelope
      };
    
      IDisposable _graphic = mapView.AddOverlay(pictureGraphic);
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also