ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TinNodeClassBreaksRendererDefinition Class / TinNodeClassBreaksRendererDefinition Constructor / TinNodeClassBreaksRendererDefinition Constructor()
Example

In This Topic
    TinNodeClassBreaksRendererDefinition Constructor()
    In This Topic
    Create a class breaks renderer definition to draw nodes in a TIN layer.
    Syntax
    public TinNodeClassBreaksRendererDefinition()
    Public Function New()
    Remarks
    A TinNodeClassBreaksRendererDefinition has a fixed CursorType of ArcGIS.Core.CIM.TerrainDrawCursorType.NodeElevation and is only applicable to TIN layers.
    Example
    Elevation Node Renderer - Equal Breaks
    // applies to TIN layers only
    
    var equalBreaksNodeRendererDef = new TinNodeClassBreaksRendererDefinition();
    equalBreaksNodeRendererDef.BreakCount = 7;
    
    if (tinLayer.CanCreateRenderer(equalBreaksNodeRendererDef))
    {
      CIMTinRenderer renderer = tinLayer.CreateRenderer(equalBreaksNodeRendererDef);
      if (tinLayer.CanSetRenderer(renderer, SurfaceRendererTarget.Edges))
        tinLayer.SetRenderer(renderer, SurfaceRendererTarget.Edges);
    }
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also