BCGSoft.ControlBars Namespace > ImageEditor Class : SetCurrentTool Method |
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.
'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 )
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