public class TinFaceRendererDefinition : TinSimpleRendererDefinition
Public Class TinFaceRendererDefinition Inherits TinSimpleRendererDefinition
public class TinFaceRendererDefinition : TinSimpleRendererDefinition
Public Class TinFaceRendererDefinition Inherits TinSimpleRendererDefinition
Once you define a simple renderer, you can call a surface layer's CanCreateRenderer, CreateRenderer, CanSetRenderer and SetRenderer methods to create and assign a renderer to a surface layer.
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); }
System.Object
ArcGIS.Desktop.Mapping.LayerDrawingDefinition
ArcGIS.Desktop.Mapping.TinRendererDefinition
ArcGIS.Desktop.Mapping.TinSimpleRendererDefinition
ArcGIS.Desktop.Mapping.TinFaceRendererDefinition
Target Platforms: Windows 11, Windows 10