Leadtools.Jpip.Client.WinForms Requires JPIP Module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ComponentIndex Property
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : ComponentIndex Property



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);
}

Return 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

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