The NumberOfColorComponents Property includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.
Number of color components in the loaded JPEG2000 file.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;} |
Property Value
Integer that represents the number of color components in the loaded JPEG2000 file.This example displays this value after loading a file. For an example, refer to JpipRasterImageViewer.
For a gray scale image, this value is one. For a color image (RGB) this value is 3 or more.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7