SetSystemToolAttribute

image\bltlrgss.gif Editions  image\bltlrgss.gif Related Transactions  image\bltlrgss.gif Example

The SetSystemToolAttribute transaction assigns a default value to an attribute of the specified tool. "Attributes" are characteristics such as color, line width, and font. The attributes assigned here are used by default on future edit layers. It is the equivalent of Tool Preferences in the user interface.

Type XTYP_EXECUTE

Syntax [SetSystemToolAttribute(toolID, attributeID, value, <units>)]

Parameter

Data type

Values

Meaning

toolID

DWORD

1

Line

 

 

2

Box

 

 

3

Circle

 

 

4

Ellipse

 

 

5

Arrow

 

 

6

Sketch

 

 

7

Polyline

 

 

8

Polygon

 

 

9

Text

 

 

10

Annotation

 

 

11

Dimension

 

 

13

Hotspot

 

 

14

Rubout

 

 

15

Erase Area

 

 

16

Arc

 

 

17

Highlight Area

 

 

18

Highlighter

attributeID

WORD

Tool attribute IDs

attribute to define

value

WORD

Tool attribute values

value of the attribute

units

WORD

1 | 2 | 3

inches | cm | pixels. Optional parameter.

Remarks

Only tools available in your edition of Imagenation can be defined.

Release Information

Added in Release 3.70.

See also