AutoSetTool property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

BOOL AutoSetTool

Overview

Refer to Annotation Toolbar.

Remarks

Contains a value indicating if the annotation toolbar and the main annotation object are linked. Possible values are:

Value

Meaning

TRUE

Setting the AnnTool property of the ILEADRasterAnnotation object will also set the Tool property of the ILEADRasterAnnToolBar object and will update the annotation toolbar, if the bar has been created. Also, clicking on a button in the annotation toolbar will automatically set the AnnTool property of the ILEADRasterAnnotation object.

FALSE

The AnnTool property property of the ILEADRasterAnnotation object and the Tool property of the ILEADRasterAnnToolBar object are independent.

If you want to synchronize the AnnTool property property of the ILEADRasterAnnotation object and the Tool property of the ILEADRasterAnnToolBar object, you should set AutoSetTool to TRUE, or keep track of the currently selected tool by intercepting the OnAnnToolChecked event of the ILEADRasterAnnotation object.

See Also

Elements

AnnGetFillModeExt method, AnnSetFillModeExt method, AnnFillMode property, AnnAlpha property, AnnSetOptions method, AnnGetOptions method, AnnSetTextOptions method, AnnGetTextOptions method, AnnShowText property, AnnShowBorder property, AnnTextColor property, AnnAutoSnapCursor property, AnnTextEdit method, AnnShowRotateHandles property, AnnGetRotateOptions method, AnnSetRotateOptions method, AnnCalibrateRuler method, ButtonBitmapDown property, ButtonBitmapUp property, ButtonColumns property, ButtonCount property,ButtonMenuText property, ButtonMenuTextID property, ButtonMenuTool property, ButtonRows property, ButtonTool property, ButtonToolCount property, ButtonToolTipText property, ButtonToolTipTextID property, ButtonVisible property, Create method, hWnd property, Tool property, Visible property

Topics

Annotations (Document/Medical only): Automation

 

Using Rulers in Annotation Objects

 

New Annotation Features of Version 14.5

 

Calibrating Annotation Ruler Objects