ArcGIS Pro 2.8 API Reference Guide
GetGraphic Method (GraphicElement)

ArcGIS.Desktop.Layouts Namespace > GraphicElement Class : GetGraphic Method
Returns a CIMGraphic which is a CIM representation of the graphic specific attributes for a GraphicElement. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public CIMGraphic GetGraphic()
Public Function GetGraphic() As CIMGraphic

Return Value

Exceptions
ExceptionDescription
This method must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GraphicElement Class
GraphicElement Members