Manually sets the current tool in an automation handle without using the toolbar.
#include "ltwrappr.h"
L_INT LAutomation::GetCurrentTool(pnTool)
Pointer to a variable to be updated with the current tool id. For more information about tools, tool identifiers and toolbar buttons, refer to the LEADTOOLS Toolbar C++ Class Library help.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This function lets you simulate a toolbar, instead of using one provided by LEAD Automation.
For an example, refer to LAutomation::SetCurrentTool.