ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasPointClassBreaksRendererDefinition Class / LasPointClassBreaksRendererDefinition Constructor / LasPointClassBreaksRendererDefinition Constructor(ClassificationMethod,Int32,CIMSymbolReference,Double,CIMColorRamp)
Classification method.
(Optional) Number of breaks. (Default value = 9)
(Optional) Symbol template for the classes.
(Optional) The symbol scale factor assigned to the symbols. Valid values are between -4.0 and 4.0.
(Optional) Color ramp to apply to those classes.
Example

In This Topic
    LasPointClassBreaksRendererDefinition Constructor(ClassificationMethod,Int32,CIMSymbolReference,Double,CIMColorRamp)
    In This Topic
    Create a class breaks renderer definition to draw points in a LAS dataset layer.
    Syntax
    Public Function New( _
       ByVal classificationMethod As ClassificationMethod, _
       Optional ByVal breakCount As Integer, _
       Optional ByVal symbolTemplate As CIMSymbolReference, _
       Optional ByVal symbolScaleFactor As Double, _
       Optional ByVal colorRamp As CIMColorRamp _
    )

    Parameters

    classificationMethod
    Classification method.
    breakCount
    (Optional) Number of breaks. (Default value = 9)
    symbolTemplate
    (Optional) Symbol template for the classes.
    symbolScaleFactor
    (Optional) The symbol scale factor assigned to the symbols. Valid values are between -4.0 and 4.0.
    colorRamp
    (Optional) Color ramp to apply to those classes.
    Remarks
    A LasPointClassBreaksRendererDefinition has a fixed CursorType of ArcGIS.Core.CIM.TerrainDrawCursorType.TerrainPointElevation and is only applicable to a LAS dataset layer.

    The symbol size is calculated as Math.Pow(2, symbolScaleFactor).

    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);
    }
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also