ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TinNodeClassBreaksRendererDefinition Class / TinNodeClassBreaksRendererDefinition Constructor / TinNodeClassBreaksRendererDefinition Constructor(ClassificationMethod,Int32,CIMSymbolReference,CIMColorRamp)
Classification method.
(Optional) Number of breaks. (Default value = 9)
(Optional) Symbol template for the classes.
(Optional) Color ramp to apply to those classes.
Example

In This Topic
    TinNodeClassBreaksRendererDefinition Constructor(ClassificationMethod,Int32,CIMSymbolReference,CIMColorRamp)
    In This Topic
    Create a class breaks renderer definition to draw nodes in a TIN layer.
    Syntax
    Public Function New( _
       ByVal classificationMethod As ClassificationMethod, _
       Optional ByVal breakCount As Integer, _
       Optional ByVal symbolTemplate As CIMSymbolReference, _
       Optional ByVal colorRamp As CIMColorRamp _
    )

    Parameters

    classificationMethod
    Classification method.
    breakCount
    (Optional) Number of breaks. (Default value = 9)
    symbolTemplate
    (Optional) Symbol template for the classes.
    colorRamp
    (Optional) Color ramp to apply to those classes.
    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