ArcGIS Pro 2.9 API Reference Guide
ConstructPointSymbol(CIMColor,Double,SimpleMarkerStyle) Method
Example 

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
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
)
Public Overloads Function ConstructPointSymbol( _
   ByVal color As CIMColor, _
   ByVal size As Double, _
   ByVal style As SimpleMarkerStyle _
) As CIMPointSymbol

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
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

See Also

Reference

SymbolFactory Class
SymbolFactory Members
Overload List