BCGControlBar Library for .NET
SetCurrentTool Method




A tool to select.
Specifies if the current tool will be set or unset.

Selects a tool to edit image in the image editor according to the selected image mode. Called by the framework when the user selects the current tool on the ImageEditorArea and on loading ImageEditor the current tool will be set by default.

Syntax
'Declaration
 
Public Sub SetCurrentTool( _
   ByVal mode As ImageEditMode, _
   ByVal set As Boolean _
) 
'Usage
 
Dim instance As ImageEditor
Dim mode As ImageEditMode
Dim set As Boolean
 
instance.SetCurrentTool(mode, set)
public void SetCurrentTool( 
   ImageEditMode mode,
   bool set
)
public: void SetCurrentTool( 
   ImageEditMode mode,
   bool set
) 
public:
void SetCurrentTool( 
   ImageEditMode mode,
   bool set
) 

Parameters

mode
A tool to select.
set
Specifies if the current tool will be set or unset.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ImageEditor Class
ImageEditor Members

Send Feedback