The SetTool transaction selects a tool in the specified document window.
Type XTYP_EXECUTE
Syntax [SetTool(docwinID, toolType)]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
toolType |
WORD |
0 |
no tool |
|
|
|
1 |
activate Cut tool or, if objects are selected, cut them |
|
|
|
2 |
activate Copy tool or, if objects are selected, copy them |
|
|
|
3 |
activate Paste tool |
|
|
|
4 |
activate Line tool |
|
|
|
5 |
activate Box tool |
|
|
|
6 |
activate Circle tool |
|
|
|
7 |
activate Ellipse tool |
|
|
|
8 |
activate Arrow tool |
|
|
|
9 |
activate Sketch tool |
|
|
|
10 |
activate Polyline tool |
|
|
|
11 |
activate Polygon tool |
|
|
|
12 |
activate Text tool |
|
|
|
13 |
activate Annotation tool |
|
|
|
14 |
activate Dimension tool |
|
|
|
15 |
activate Symbol tool (a symbol file must be specified) |
|
|
|
16 |
activate Hotspot tool |
|
|
|
17 |
activate Rubout tool |
|
|
|
18 |
activate Erase Area tool |
|
|
|
19 |
activate Select tool |
|
|
|
20 |
select all objects |
|
|
|
21 |
deselect all selected objects |
|
|
|
22 |
activate Move/Resize tool. One or more objects must be selected. |
|
|
|
23 |
activate Rotate tool. One or more objects must be selected. |
|
|
|
24 |
delete all selected objects |
|
|
|
25 |
open the Save As Symbol dialog box. One or more objects must be selected. |
|
|
|
26 |
bind the selected objects |
|
|
|
27 |
unbind the selected, bound objects |
|
|
|
28 |
open the Change Text dialog box. A single text, annotation, or dimension object must be selected. |
|
|
|
29 |
activate Arc tool |
|
|
|
31 |
activate Highlighter tool |
|
|
|
32 |
activate Highlight Area tool |
|
|
|
33 |
open the Change Hotspot dialog box. A single hotspot must be selected. |
Remarks
Only tools available in your edition of Imagenation can be selected.
Release information
Added in Release 3.50.
See also