ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasUniqueValueRendererDefinition Class / SymbolScaleFactor Property
Example

In This Topic
    SymbolScaleFactor Property (LasUniqueValueRendererDefinition)
    In This Topic
    The symbol scale factor. Default value is 0.0.
    Syntax
    public double SymbolScaleFactor {get; set;}
    Public Property SymbolScaleFactor As Double
    Remarks
    The symbol scale factor is applied to the symbols. The symbol size is calculated as Math.Pow(2, symbolSizeFactor). Valid values are between -4.0 and 4.0.
    Example
    LAS Points Returns Unique Value Renderer
    // applies to LAS dataset layers only
    
    var lasPointsReturnsRendererDef = new LasUniqueValueRendererDefinition(LasAttributeType.ReturnNumber);
    lasPointsReturnsRendererDef.ModulateUsingIntensity = true;
    lasPointsReturnsRendererDef.SymbolScaleFactor = 1.0;
    // accept the defaults for color ramp, symbolTemplate
    
    if (lasDatasetLayer.CanCreateRenderer(lasPointsReturnsRendererDef))
    {
      CIMTinRenderer renderer = lasDatasetLayer.CreateRenderer(lasPointsReturnsRendererDef);
      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