ImageGear .NET v25.1 - Updated
ImGearExtraChannelColorChoice Constructor
Example 




ImageGear.Windows.Forms Assembly > ImageGear.Windows.Forms Namespace > ImGearExtraChannelColorChoice Class : ImGearExtraChannelColorChoice Constructor
Reference to the page view object.
Array of extra channels.
Index of the extra channel in array to work with.
Initializes a new instance of the ImGearExtraChannelColorChoice class.
Syntax
'Declaration
 
Public Function New( _
   ByVal pageView As ImGearPageView, _
   ByVal channelsInfo() As ImGearExtraChannelInfo, _
   ByVal channelNumber As Integer _
)
'Usage
 
Dim pageView As ImGearPageView
Dim channelsInfo() As ImGearExtraChannelInfo
Dim channelNumber As Integer
 
Dim instance As New ImGearExtraChannelColorChoice(pageView, channelsInfo, channelNumber)
public ImGearExtraChannelColorChoice( 
   ImGearPageView pageView,
   ImGearExtraChannelInfo[] channelsInfo,
   int channelNumber
)
public: ImGearExtraChannelColorChoice( 
   ImGearPageView* pageView,
   ImGearExtraChannelInfo*[]* channelsInfo,
   int channelNumber
)
public:
ImGearExtraChannelColorChoice( 
   ImGearPageView^ pageView,
   array<ImGearExtraChannelInfo^>^ channelsInfo,
   int channelNumber
)

Parameters

pageView
Reference to the page view object.
channelsInfo
Array of extra channels.
channelNumber
Index of the extra channel in array to work with.

Return Value

An instance of ImGearExtraChannelColorChoice class GUI dialog.
Example
ImGearExtraChannelColorChoice dlg = new ImGearExtraChannelColorChoice(
    igPageView, igPageView.Page.DIB.ExtraChannelInfo, 0);
dlg.ShowDialog();
Dim dlg As New ImGearExtraChannelColorChoice(igPageView, igPageView.Page.DIB.ExtraChannelInfo, 0)
dlg.ShowDialog()
See Also

Reference

ImGearExtraChannelColorChoice Class
ImGearExtraChannelColorChoice Members
ImGearPageView Class
ImGearExtraChannelInfo Class