LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ComponentIndex Property
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : ComponentIndex Property



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.

Syntax

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;}
C++/CLI 
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.

Example

This example selects the index for the first component. For an example, refer to JpipRasterImageViewer.

Remarks

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Jpip.Client.WinForms requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features