Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property NumberOfColorComponents As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int NumberOfColorComponents {get;} |
Return 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family