ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TinFaceClassBreaksAspectRendererDefinition Class / SymbolTemplate Property
Example

In This Topic
    SymbolTemplate Property (TinFaceClassBreaksAspectRendererDefinition)
    In This Topic
    Gets or sets a template for the symbol used in the renderer.
    Syntax
    public CIMSymbolReference SymbolTemplate {get; set;}
    Public Property SymbolTemplate As CIMSymbolReference
    Example
    Aspect Face Renderer
    var aspectFaceRendererDef = new TinFaceClassBreaksAspectRendererDefinition();
    aspectFaceRendererDef.SymbolTemplate = polySymbol.MakeSymbolReference();
    // accept default color ramp
    
    if (surfaceLayer.CanCreateRenderer(aspectFaceRendererDef))
    {
      CIMTinRenderer renderer = surfaceLayer.CreateRenderer(aspectFaceRendererDef);
      if (surfaceLayer.CanSetRenderer(renderer, SurfaceRendererTarget.Surface))
        surfaceLayer.SetRenderer(renderer, SurfaceRendererTarget.Surface);
    }
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also