ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SymbolFactory Class / ConstructPointSymbol Method / ConstructPointSymbol(CIMColor,Double,SimpleMarkerStyle) Method
ArcGIS.Core.CIM.CIMColor
The size of the point symbol to construct.
SimpleMarkerStyle
Example

ConstructPointSymbol(CIMColor,Double,SimpleMarkerStyle) Method
Constructs a point symbol of specific color, size and style. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public CIMPointSymbol ConstructPointSymbol( 
   CIMColor color,
   double size,
   SimpleMarkerStyle style
)

Parameters

color
ArcGIS.Core.CIM.CIMColor
size
The size of the point symbol to construct.
style
SimpleMarkerStyle

Return Value

Exceptions
ExceptionDescription
This method must be called within the lambda passed to QueuedTask.Run
Example
How to construct a point symbol of a specific color, size and shape
await QueuedTask.Run(() =>
{
  CIMPointSymbol starPointSymbol = SymbolFactory.Instance.ConstructPointSymbol(ColorFactory.Instance.RedRGB, 10.0, SimpleMarkerStyle.Star);
});
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also