ArcGIS Pro 2.6 API Reference Guide
ConstructPolygonSymbol(CIMColor,SimpleFillStyle) Method
Example 

ArcGIS.Desktop.Mapping Namespace > SymbolFactory Class > ConstructPolygonSymbol Method : ConstructPolygonSymbol(CIMColor,SimpleFillStyle) Method
ArcGIS.Core.CIM.CIMColor
SimpleFillStyle
Constructs a polygon symbol of specific color and style.
Syntax
public CIMPolygonSymbol ConstructPolygonSymbol( 
   CIMColor color,
   SimpleFillStyle fillStyle
)
Public Overloads Function ConstructPolygonSymbol( _
   ByVal color As CIMColor, _
   ByVal fillStyle As SimpleFillStyle _
) As CIMPolygonSymbol

Parameters

color
ArcGIS.Core.CIM.CIMColor
fillStyle
SimpleFillStyle

Return Value

Example
CIMPolygonSymbol polygonSymbol = SymbolFactory.Instance.ConstructPolygonSymbol(ColorFactory.Instance.RedRGB, SimpleFillStyle.Solid);
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

SymbolFactory Class
SymbolFactory Members
Overload List