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

In This Topic
    TinFaceClassBreaksAspectRendererDefinition Class
    In This Topic
    Represents a class breaks renderer definition to draw faces in a surface layer.
    Object Model
    TinFaceClassBreaksAspectRendererDefinition ClassCIMSymbolReference Class
    Syntax
    public class TinFaceClassBreaksAspectRendererDefinition : TinRendererDefinition 
    Public Class TinFaceClassBreaksAspectRendererDefinition 
       Inherits TinRendererDefinition
    Remarks
    Once you define a class breaks renderer, you can call a surface layer's CanCreateRenderer, CreateRenderer, CanSetRenderer and SetRenderer methods to create and assign a renderer to a surface layer.
    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);
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Mapping.LayerDrawingDefinition
          ArcGIS.Desktop.Mapping.TinRendererDefinition
             ArcGIS.Desktop.Mapping.TinFaceClassBreaksAspectRendererDefinition

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also