ActivateIcon

Top  Previous  Next

Programmingly clicks an icon in the first tool strip in the control.

[Visual Basic .NET]

Public Function ActivateIcon(ByVal IconFlag As Integer) As Boolean

[C#]

public bool ActivateIcon(int IconFlag);

Parameters

IconFlag

Specifies which icon gets clicked, and all possible values are listed below.

Value

Comment

1

Open annotation

2

Close annotation

3

Open search

4

Close search

5

Open cascade

6

Full grid

7

Copy screenshot to clipboard

8

Print screenshot

9

Save screenshot to a file

 

 

 

Return Value:

The return value is TRUE if the action succeeds; otherwise it is FALSE.

 

 

ActivateIcon