var simpleFaceRendererDef = new TinFaceRendererDefinition(); simpleFaceRendererDef.SymbolTemplate = polySymbol.MakeSymbolReference(); if (surfaceLayer.CanCreateRenderer(simpleFaceRendererDef)) { CIMTinRenderer renderer = surfaceLayer.CreateRenderer(simpleFaceRendererDef); if (surfaceLayer.CanSetRenderer(renderer, SurfaceRendererTarget.Surface)) surfaceLayer.SetRenderer(renderer, SurfaceRendererTarget.Surface); }
Target Platforms: Windows 11, Windows 10