Gets or sets the index of the component to be displayed.
            
            
            
            
            
            
            
            public int ComponentIndex {get; set;}
             
        
            
            'Declaration
 
Public Property ComponentIndex As Integer
             
        
            
            'Usage
 
Dim instance As JpipRasterImageViewer
Dim value As Integer
 
instance.ComponentIndex = value
 
value = instance.ComponentIndex
             
        
            
        
            
        
            
            public:
property int ComponentIndex {
   int get();
   void set (    int value);
}
             
        
             
        
            
            
            Property Value
To display all of the color components use "-1"; otherwise, use 0 for the first component, 1 for the second and so forth.
 
            
            
            
            
            For an example that selects the index for the first component, refer to 
JpipRasterImageViewer.