ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMPointCloudLayer Class / PointsPerInch Property
Example

In This Topic
    PointsPerInch Property
    In This Topic
    Gets or sets the double value that determines the number of points to draw per display inch.
    Syntax
    public double PointsPerInch {get; set;}
    Public Property PointsPerInch As Double
    Example
    Edit Density settings
    //Must be called on the MCT
    //var pcsl = ...;
    var def = pcsl.GetDefinition() as CIMPointCloudLayer;
    //PointsBudget - corresponds to Display Limit on the UI
    // - the absolute maximum # of points to display
    def.PointsBudget = 1000000;
    
    //PointsPerInch - corresponds to Density Min --- Max on the UI
    // - the max number of points per display inch to renderer
    def.PointsPerInch = 15;
    //Commit changes back to the CIM
    pcsl.SetDefinition(def);
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also