Parameters
- URI
- String
| Exception | Description |
|---|---|
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
{
//Update a picture element.
//Note: Must be on QueuedTask.Run
// Reference a picture element by name
PictureElement picElm = layout.FindElement("MyPicture") as PictureElement;
// Change the path to a new source
picElm?.SetSourcePath(@"D:\MyData\Pics\somePic.jpg");
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)