NumberOfColorComponents Property

Summary
Number of color components in the loaded JPEG2000 file.
Syntax
C#
VB
C++
public int NumberOfColorComponents { get; } 
  
Public ReadOnly Property NumberOfColorComponents As Integer 
public: 
property int NumberOfColorComponents { 
   int get(); 
} 

Property Value

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

Remarks

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

Example

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

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Jpip.Client.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.