ArcGIS Pro 2.7 API Reference Guide
StretchColorizerDefinition Constructor(Int32,RasterStretchType,Double,CIMColorRamp)

ArcGIS.Desktop.Mapping Namespace > StretchColorizerDefinition Class > StretchColorizerDefinition Constructor : StretchColorizerDefinition Constructor(Int32,RasterStretchType,Double,CIMColorRamp)
The band index of the band being displayed.
(Optional) The ArcGIS.Core.CIM.RasterStretchType. (default value = RasterStretchType.DefaultFromSource)
(Optional) The gamma value. (default value = 1.0)
(Optional) The color ramp. (default value = null)
Creates a Stretch colorizer definition using parameters.
Syntax
public StretchColorizerDefinition( 
   int bandIndex,
   RasterStretchType stretchType,
   double gamma,
   CIMColorRamp colorRamp
)
Public Function New( _
   ByVal bandIndex As Integer, _
   Optional ByVal stretchType As RasterStretchType, _
   Optional ByVal gamma As Double, _
   Optional ByVal colorRamp As CIMColorRamp _
)

Parameters

bandIndex
The band index of the band being displayed.
stretchType
(Optional) The ArcGIS.Core.CIM.RasterStretchType. (default value = RasterStretchType.DefaultFromSource)
gamma
(Optional) The gamma value. (default value = 1.0)
colorRamp
(Optional) The color ramp. (default value = null)
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

StretchColorizerDefinition Class
StretchColorizerDefinition Members
Overload List