ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasStretchRendererDefinition Class / LasStretchRendererDefinition Constructor / LasStretchRendererDefinition Constructor(LASStretchAttribute,LASStretchType,Double,CIMColorRamp)
The stretch attribute.
The stretch type.
(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.

In This Topic
    LasStretchRendererDefinition Constructor(LASStretchAttribute,LASStretchType,Double,CIMColorRamp)
    In This Topic
    Creates a LAS stretch renderer.
    Syntax
    Public Function New( _
       ByVal stretchAttribute As LASStretchAttribute, _
       Optional ByVal stretchType As LASStretchType, _
       Optional ByVal symbolScaleFactor As Double, _
       Optional ByVal colorRamp As CIMColorRamp _
    )

    Parameters

    stretchAttribute
    The stretch attribute.
    stretchType
    The stretch type.
    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
    Only the following values are valid for stretchAttribute - ArcGIS.Core.CIM.LASStretchAttribute.Elevation, ArcGIS.Core.CIM.LASStretchAttribute.Intensity and ArcGIS.Core.CIM.LASStretchAttribute.ScanAngle. The following values are valid for stretchType - ArcGIS.Core.CIM.LASStretchType.DefaultFromSource and ArcGIS.Core.CIM.LASStretchType.MinimumMaximum. ArcGIS.Core.CIM.LASStretchType.StandardDeviations is also valid if your StretchAttribute is Elevation or Intensity.

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

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.2 or higher.
    See Also