ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasPointClassBreaksRendererDefinition Class
Members Example

In This Topic
    LasPointClassBreaksRendererDefinition Class
    In This Topic
    Represents a class breaks renderer definition to draw points in a LAS dataset layer.
    Object Model
    LasPointClassBreaksRendererDefinition ClassCIMColorRamp ClassCIMSymbolReference Class
    Syntax
    public class LasPointClassBreaksRendererDefinition : TinColorRampRendererDefinition 
    Public Class LasPointClassBreaksRendererDefinition 
       Inherits TinColorRampRendererDefinition
    Remarks
    A LasPointClassBreaksRendererDefinition has a fixed CursorType of ArcGIS.Core.CIM.TerrainDrawCursorType.TerrainPointElevation and is only applicable to a LAS dataset layer.

    Once you define a class breaks renderer, you can call a surface layer's CanCreateRenderer, CreateRenderer, CanSetRenderer and SetRenderer methods to create and assign a renderer to a surface layer.

    Example
    LAS Points Classified Elevation Renderer
    // applies to LAS dataset layers only
    
    var lasPointsClassBreaksRendererDef = new LasPointClassBreaksRendererDefinition();
    lasPointsClassBreaksRendererDef.ClassificationMethod = ClassificationMethod.NaturalBreaks;
    lasPointsClassBreaksRendererDef.ModulateUsingIntensity = true;
    // increase the symbol size by a factor
    lasPointsClassBreaksRendererDef.SymbolScaleFactor = 1.0;
    
    if (lasDatasetLayer.CanCreateRenderer(lasPointsClassBreaksRendererDef))
    {
      CIMTinRenderer renderer = lasDatasetLayer.CreateRenderer(lasPointsClassBreaksRendererDef);
      if (lasDatasetLayer.CanSetRenderer(renderer, SurfaceRendererTarget.Points))
        lasDatasetLayer.SetRenderer(renderer, SurfaceRendererTarget.Points);
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Mapping.LayerDrawingDefinition
          ArcGIS.Desktop.Mapping.TinRendererDefinition
             ArcGIS.Desktop.Mapping.TinColorRampRendererDefinition
                ArcGIS.Desktop.Mapping.LasPointClassBreaksRendererDefinition

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also