【机器视觉】 dev_show_tool算子
00. 目錄
文章目錄
- 00. 目錄
- 01. 概述
- 02. 簽名
- 03. 描述
- 04. 注意
- 05. 參數
- 06. 結果
- 07. 附錄
01. 概述
dev_show_tool - 顯示指定的tool。
02. 簽名
dev_show_tool( : : ToolId, Action : )
03. 描述
dev_show_tool在tool的ID為ToolId上執行動作Action。
可以用tool的名稱替代作為tool的ToolId參數。 在這種情況任意的tool,只要存在符合它的ToolID,就會被使用。
Action(參數)
’show’:
激活tool。
’normal’:
顯示tool,把它置頂,并激活它。
’minimize’:
最小化tool。
’maximize’:
最大化tool。
’hide’:
隱藏tool。
原文描述:
dev_show_tool executes the action Action on the tool ToolId
Instead of using the ToolId, given during opening the tool, you can use the name that has to be used in dev_open_tool. In that case an arbitrary tool, which fits the parameter ToolId, is used.
Action
‘show’:
Activates the tool.
‘normal’:
Shows the tool, brings it to the front and activates it.
‘minimize’:
Minimizes the tool.
‘maximize’:
Maximizes the tool.
‘hide’:
Hides the tool.
04. 注意
此算子不支持代碼導出
05. 參數
ToolId (input_control) dev_tool → (string)
Tool identifier.
Action (input_control) string → (string)
Action to execute.
HDevelop例程
dev_open_tool.hdev Open and adjust tools in HDevelop
程序示例
dev_open_tool ('matching_assistant', 0, 0, 'default','default', ToolId) dev_show_tool (ToolId, 'minimize')06. 結果
如果指定參數的值正確,則 dev_show_tool 返回 2 (H_MSG_TRUE)。 否則會引發異常并返回錯誤代碼。
07. 附錄
7.1 機器視覺博客匯總
網址:https://dengjin.blog.csdn.net/article/details/116837497
總結
以上是生活随笔為你收集整理的【机器视觉】 dev_show_tool算子的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【机器视觉】 dev_set_windo
- 下一篇: 【机器视觉】 dev_unmap_pro