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

In This Topic
    ConstructPointSymbol(CIMColor,Double) Method
    In This Topic
    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
    How to construct a point symbol of a specific color and size
    await QueuedTask.Run(() =>
    {
      CIMPointSymbol pointSymbol = SymbolFactory.Instance.ConstructPointSymbol(ColorFactory.Instance.RedRGB, 10.0);
    });
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also