SelectTool Method

Example-VB Example-VC++

Selects an annotation tool from the Annotation Tool Palette.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

object.SelectTool ToolID

Argument

Parameter Data Type Setting Description

ToolID Integer
(enumerated)
0
1
2
3
4
5
6
7
8
9
10
11
12
No Tool
Selection
Freehand Line
Highlighter
Straight Line
Hollow Rectangle
Filled Rectangle
Text
Attach-a-Note
Text From File
Text Stamp
Hyperlink
OCR Zones

Note: Hyperlink and OCR Zone ToolID settings are available with Imaging for Windows Professional Edition only.

Return Value

None

Remarks

The Highlighter annotation type is composed of a Filled Rectangle annotation type with a transparent fill style.

When a tool is selected from the tool palette, the previous tool is deselected automatically.

The Annotation Tool Palette does not have to be visible to use this method.