AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::UiCommandManager类 参考

Manage the command ui. 更多...

类 AnyCAD::Platform::UiCommandManager 继承关系图:
AnyCAD::Platform::Object

Public 成员函数

long GetUiCommandCount ()
 
UiCommandGetUiCommand (int idx)
 
UiCommandFindUiCommand (String^ id)
 
long GetToolBarCount ()
 
UiToolBarGetUiToolBar (int idx)
 
UiToolBarFindUiToolBar (String^ name)
 
bool LoadFromFile (Path^ fileName)
 
String^ Translate (String^ str)
 
void SetLocalString (String^ str, String^ local)
 
- Public 成员函数 继承自 AnyCAD::Platform::Object
String^ GetObjectClassId ()
 
StringList^ ListParentClassIds ()
 

详细描述

Manage the command ui.

TODO:

成员函数说明

UiCommand ^ AnyCAD::Platform::UiCommandManager::FindUiCommand ( String^  id)

Get the UiCommand by command id.

返回
the UiCommand.
UiToolBar ^ AnyCAD::Platform::UiCommandManager::FindUiToolBar ( String^  name)

Find ToolBar by name.

参数
namethe name.
返回
the UiToolBar.
long AnyCAD::Platform::UiCommandManager::GetToolBarCount ( )

Get the UiToolBar count.

返回
the count
UiCommand ^ AnyCAD::Platform::UiCommandManager::GetUiCommand ( int  idx)

Get the UiCommand by index.

返回
the UiCommand.
long AnyCAD::Platform::UiCommandManager::GetUiCommandCount ( )

Get UiCommand count.

返回
the count.
UiToolBar ^ AnyCAD::Platform::UiCommandManager::GetUiToolBar ( int  idx)

Get the ToolBar by index.

返回
the UiToolBar.
bool AnyCAD::Platform::UiCommandManager::LoadFromFile ( Path fileName)

Get the ToolBar by index.

返回
the UiToolBar.
void AnyCAD::Platform::UiCommandManager::SetLocalString ( String^  str,
String^  local 
)

set local string for string.

参数
strthe string.
localthe local string.
String ^ AnyCAD::Platform::UiCommandManager::Translate ( String^  str)

translate str to local language.

参数
strthe string to translate.
返回
the local language.

该类的文档由以下文件生成: