ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SymbolFactory Class / ConstructPolygonSymbol Method / ConstructPolygonSymbol(CIMColor,SimpleFillStyle) Method
ArcGIS.Core.CIM.CIMColor
SimpleFillStyle
Example

ConstructPolygonSymbol(CIMColor,SimpleFillStyle) Method
Constructs a polygon symbol of specific color and style.
Syntax
public CIMPolygonSymbol ConstructPolygonSymbol( 
   CIMColor color,
   SimpleFillStyle fillStyle
)

Parameters

color
ArcGIS.Core.CIM.CIMColor
fillStyle
SimpleFillStyle

Return Value

Example
How to construct a polygon symbol of specific color and fill style
CIMPolygonSymbol polygonSymbol = SymbolFactory.Instance.ConstructPolygonSymbol(ColorFactory.Instance.RedRGB, SimpleFillStyle.Solid);
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also