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

In This Topic
    TerrainPointClassBreaksRendererDefinition Constructor()
    In This Topic
    Create a class breaks renderer definition to draw terrain points in a Terrain layer.
    Syntax
    public TerrainPointClassBreaksRendererDefinition()
    Public Function New()
    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