ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / IGraphicFactory Interface / CreateSimpleGraphic Method
The geometry for the resulting graphic
The symbol to be used with the graphic (optional)
Version

CreateSimpleGraphic Method (IGraphicFactory)
Creates a point, line, polygon or text graphic based on the input geometry and symbol.
Syntax
CIMGraphic CreateSimpleGraphic( 
   Geometry geometry,
   CIMSymbol symbol
)

Parameters

geometry
The geometry for the resulting graphic
symbol
The symbol to be used with the graphic (optional)

Return Value

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also