ImageGear .NET - Updated
GetExtraChannelCount(Int32) Method




ImageGear24.Core Assembly > ImageGear.Core Namespace > ImGearColorSpace Structure > GetExtraChannelCount Method : GetExtraChannelCount(Int32) Method
Total quantity of channels in the image.
Calculates quantity of extra channels in color space with given total channels quantity.
Syntax
'Declaration
 
Public Overloads Function GetExtraChannelCount( _
   ByVal totalChannelCount As Integer _
) As Integer
'Usage
 
Dim instance As ImGearColorSpace
Dim totalChannelCount As Integer
Dim value As Integer
 
value = instance.GetExtraChannelCount(totalChannelCount)
public int GetExtraChannelCount( 
   int totalChannelCount
)
public: int GetExtraChannelCount( 
   int totalChannelCount
) 
public:
int GetExtraChannelCount( 
   int totalChannelCount
) 

Parameters

totalChannelCount
Total quantity of channels in the image.

Return Value

Quantity of extra channels or zero in case if color-space value doesn't contain ImGearColorSpaceIDs.Ex bit.
See Also

Reference

ImGearColorSpace Structure
ImGearColorSpace Members
Overload List
ImGearColorSpaceIDs Enumeration