AutoSetTool property (ILEADRasterAnnotation)
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