ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / RasterImageryOptions Class / SetMSColor Method
The red band number.
The green band number.
The blue band number

In This Topic
    SetMSColor Method
    In This Topic
    Sets the multispectral data band composition. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetMSColor( 
       int r,
       int g,
       int b
    )
    Public Sub SetMSColor( _
       ByVal r As Integer, _
       ByVal g As Integer, _
       ByVal b As Integer _
    ) 

    Parameters

    r
    The red band number.
    g
    The green band number.
    b
    The blue band number
    Exceptions
    ExceptionDescription
    The red, green, blue bands must be a value between 1 and 1000000.
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also