Public Function ConstructPolygonSymbolWithPenInkRipple( _ ByVal color As CIMColor _ ) As CIMPolygonSymbol
public CIMPolygonSymbol ConstructPolygonSymbolWithPenInkRipple( CIMColor color )
Parameters
- color
- ArcGIS.Core.CIM.CIMColor
Public Function ConstructPolygonSymbolWithPenInkRipple( _ ByVal color As CIMColor _ ) As CIMPolygonSymbol
public CIMPolygonSymbol ConstructPolygonSymbolWithPenInkRipple( CIMColor color )
/// <summary> /// Constructs a polygon symbol in the specified color representing a pen and ink ripple water fill. See https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/please-steal-this-pen-and-ink-style/ ///  /// </summary> { //Note: Run withing QueuedTask //Ripple pen and ink var penInkRipple = SymbolFactory.Instance.ConstructPolygonSymbolWithPenInkRipple(CIMColor.CreateRGBColor(13, 24, 54)); CIMPolygonSymbol penInkRipplePolygonSymbol = penInkRipple; //To apply the symbol to a polygon feature layer //var renderer = theLayer.GetRenderer() as CIMSimpleRenderer; //renderer.Symbol = penInkRipplePolygonSymbol.MakeSymbolReference(); //theLayer.SetRenderer(renderer); }
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)