The ComponentIndex Property includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.
Gets or sets the index of the component to be displayed.| Visual Basic (Declaration) | |
|---|---|
Public Property ComponentIndex As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As JpipRasterImageViewer Dim value As Integer instance.ComponentIndex = value value = instance.ComponentIndex | |
| C# | |
|---|---|
public int ComponentIndex {get; set;} | |
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.This example selects the index for the first component. For an example, refer to JpipRasterImageViewer.
Refer to NumberOfColorComponents
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code