ArcGIS Pro 2.7 API Reference Guide
ConstructPointSymbol(CIMMarker) Method
Example 

ArcGIS.Desktop.Mapping Namespace > SymbolFactory Class > ConstructPointSymbol Method : ConstructPointSymbol(CIMMarker) Method
ArcGIS.Core.CIM.CIMMarker
Constructs a point symbol from a marker.
Syntax
public CIMPointSymbol ConstructPointSymbol( 
   CIMMarker marker
)
Public Overloads Function ConstructPointSymbol( _
   ByVal marker As CIMMarker _
) As CIMPointSymbol

Parameters

marker
ArcGIS.Core.CIM.CIMMarker

Return Value

Example
await QueuedTask.Run(() =>
{
  CIMMarker marker = SymbolFactory.Instance.ConstructMarker(ColorFactory.Instance.GreenRGB, 8.0, SimpleMarkerStyle.Pushpin);
  CIMPointSymbol pointSymbolFromMarker = SymbolFactory.Instance.ConstructPointSymbol(marker);
});
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

SymbolFactory Class
SymbolFactory Members
Overload List