ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TinFaceClassBreaksAspectRendererDefinition Class / TinFaceClassBreaksAspectRendererDefinition Constructor
Example

In This Topic
    TinFaceClassBreaksAspectRendererDefinition Constructor
    In This Topic
    Create a class breaks renderer definition to draw faces in a surface layer.
    Syntax
    public TinFaceClassBreaksAspectRendererDefinition()
    Public Function New()
    Remarks
    A TinFaceClassBreaksAspectRendererDefinition has a fixed CursorType of ArcGIS.Core.CIM.TerrainDrawCursorType.FaceAspect.
    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