ImageMan.Net Version 3 Summer 2012 Release
CurrentTool Property
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > Annotation Class : CurrentTool Property





Glossary Item Box

Gets or sets the current tool.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<System.ComponentModel.BrowsableAttribute(False)>
Public Property CurrentTool As ITool
Visual Basic (Usage)Copy Code
Dim instance As Annotation
Dim value As ITool
 
instance.CurrentTool = value
 
value = instance.CurrentTool
C# 
[System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.BrowsableAttribute(false)]
public ITool CurrentTool {get; set;}
JScript 
System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)
System.ComponentModel.BrowsableAttribute()
public function get,set CurrentTool : ITool
Managed Extensions for C++ 
[System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.BrowsableAttribute(false)]
public: __property ITool* get_CurrentTool();
public: __property void set_CurrentTool( 
   ITool* value
);
C++/CLI 
[System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.BrowsableAttribute(false)]
public:
property ITool^ CurrentTool {
   ITool^ get();
   void set (    ITool^ value);
}

Property Value

The current tool.

Remarks

The current tool is used for creating new marks unless it is the Select Tool. In which case it can be used for modifying existing marks.

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

© 2014 Data Techniques, Inc. All Rights Reserved.