ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / RGBColorizerDefinition Class / RGBColorizerDefinition Constructor / RGBColorizerDefinition Constructor(Int32,Int32,Int32,RasterStretchType,Double,Double,Double)
The band index for the red channel.
The band index for the green channel.
The band index foe blue.
(Optional) The ArcGIS.Core.CIM.RasterStretchType. (default value = RasterStretchType.DefaultFromSource)
(Optional) The Gamma value for the red channel. (default value = 1.0)
(Optional) The Gamma value for the green channel. (default value = 1.0)
(Optional) The Gamma value for the blue channel. (default value = 1.0)

In This Topic
    RGBColorizerDefinition Constructor(Int32,Int32,Int32,RasterStretchType,Double,Double,Double)
    In This Topic
    Creates a RGB colorizer definition using parameters.
    Syntax
    Public Function New( _
       ByVal redBandIndex As Integer, _
       ByVal greenBandIndex As Integer, _
       ByVal blueBandIndex As Integer, _
       Optional ByVal stretchType As RasterStretchType, _
       Optional ByVal gammaR As Double, _
       Optional ByVal gammaG As Double, _
       Optional ByVal gammaB As Double _
    )

    Parameters

    redBandIndex
    The band index for the red channel.
    greenBandIndex
    The band index for the green channel.
    blueBandIndex
    The band index foe blue.
    stretchType
    (Optional) The ArcGIS.Core.CIM.RasterStretchType. (default value = RasterStretchType.DefaultFromSource)
    gammaR
    (Optional) The Gamma value for the red channel. (default value = 1.0)
    gammaG
    (Optional) The Gamma value for the green channel. (default value = 1.0)
    gammaB
    (Optional) The Gamma value for the blue channel. (default value = 1.0)
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also