ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TerrainPointClassBreaksRendererDefinition Class / TerrainPointClassBreaksRendererDefinition Constructor / TerrainPointClassBreaksRendererDefinition 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
    TerrainPointClassBreaksRendererDefinition Constructor(ClassificationMethod,Int32,CIMSymbolReference,CIMColorRamp)
    In This Topic
    Create a class breaks renderer definition to draw terrain points in a Terrain 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 TerrainPointClassBreaksRendererDefinition has a fixed CursorType of ArcGIS.Core.CIM.TerrainDrawCursorType.TerrainPointElevation and is only applicable to Terrain layers.
    Example
    Terrain Point Class Breaks Renderer
    // applies to Terrain layers only
    
    var terrainPointClassBreaks = new TerrainPointClassBreaksRendererDefinition();
    // accept defaults
    
    if (terrainLayer.CanCreateRenderer(terrainPointClassBreaks))
    {
      CIMTinRenderer renderer = terrainLayer.CreateRenderer(terrainPointClassBreaks);
      if (terrainLayer.CanSetRenderer(renderer, SurfaceRendererTarget.Points))
        terrainLayer.SetRenderer(renderer, SurfaceRendererTarget.Points);
    }
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also