ArcGIS Pro 2.7 API Reference Guide
SetGraphic Method (AnnotationFeature)

ArcGIS.Core.Data.Mapping Namespace > AnnotationFeature Class : SetGraphic Method
The ArcGIS.Core.CIM.CIMGraphic of the feature.
Sets the ArcGIS.Core.CIM.CIMGraphic of the feature. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetGraphic( 
   CIMGraphic graphic
)
Public Sub SetGraphic( _
   ByVal graphic As CIMGraphic _
) 

Parameters

graphic
The ArcGIS.Core.CIM.CIMGraphic of the feature.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

AnnotationFeature Class
AnnotationFeature Members