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
NumberOfColorComponents Property
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : NumberOfColorComponents Property



Number of color components in the loaded JPEG2000 file.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property NumberOfColorComponents As Integer
Visual Basic (Usage)Copy Code
Dim instance As JpipRasterImageViewer
Dim value As Integer
 
value = instance.NumberOfColorComponents
C# 
public int NumberOfColorComponents {get;}
C++/CLI 
public:
property int NumberOfColorComponents {
   int get();
}

Return Value

Integer that represents the number of color components in the loaded JPEG2000 file.

Example

This example displays this value after loading a file. For an example, refer to JpipRasterImageViewer.

Remarks

For a gray scale image, this value is one. For a color image (RGB) this value is 3 or more.

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