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

ArcGIS.Desktop.Mapping Namespace > SymbolFactory Class > ConstructPointSymbol Method : ConstructPointSymbol(CIMColor,Double) Method
ArcGIS.Core.CIM.CIMColor
The size of the point symbol to construct.
Constructs a point symbol of specific color and size. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public CIMPointSymbol ConstructPointSymbol( 
   CIMColor color,
   double size
)
Public Overloads Function ConstructPointSymbol( _
   ByVal color As CIMColor, _
   ByVal size As Double _
) As CIMPointSymbol

Parameters

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

Return Value

Exceptions
ExceptionDescription
This method must be called within the lambda passed to QueuedTask.Run
Example
await QueuedTask.Run(() =>
{
  CIMPointSymbol pointSymbol = SymbolFactory.Instance.ConstructPointSymbol(ColorFactory.Instance.RedRGB, 10.0);
});
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

SymbolFactory Class
SymbolFactory Members
Overload List