AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
Present the view. 更多...
Present the view.
TODO:
long AnyCAD::Platform::View::ActiveEditor | ( | Editor^ | pEditor | ) |
long AnyCAD::Platform::View::ActiveEditorByName | ( | String^ | commandName | ) |
Active editor by name.
commandName | Name of the command. |
DocViewEditor ^ AnyCAD::Platform::View::CreateEditor | ( | String^ | commandId | ) |
Create the editor by id The editor should be activated using ActiveEditor method.
commandId | the editor id |
void AnyCAD::Platform::View::Destroy | ( | ) |
Destroy the view
bool AnyCAD::Platform::View::ExecuteCommand | ( | String^ | commandName, |
String^ | parameters | ||
) |
Execute the command
commandName | the command identifier |
parameters | the parameters. |
String ^ AnyCAD::Platform::View::GetDefaultEditorId | ( | ) |
Get the default editor id.
Document ^ AnyCAD::Platform::View::GetDocument | ( | ) |
Get the document
ViewEditorManager ^ AnyCAD::Platform::View::GetEditorMgr | ( | ) |
Gets editor manager.
ElementId ^ AnyCAD::Platform::View::GetViewId | ( | ) |
Get the view id.
void AnyCAD::Platform::View::LoadPlaceEditor | ( | ElementId^ | typeId, |
String^ | createMethod | ||
) |
Load the place editor to place the instance of the TypeElement
typeId | the TypeElement id. |
createMethod | the create method. |
int AnyCAD::Platform::View::OnChar | ( | InputEvent^ | evt | ) |
key message
evt | the input data |
bool AnyCAD::Platform::View::OnContextMenu | ( | ContextMenu^ | menuContext | ) |
Show Context Menu
menuContext | the context |
int AnyCAD::Platform::View::OnKeyDown | ( | InputEvent^ | evt | ) |
key message
evt | the input data |
int AnyCAD::Platform::View::OnKeyUp | ( | InputEvent^ | evt | ) |
key message
evt | the input data |
int AnyCAD::Platform::View::OnLButtonDown | ( | InputEvent^ | evt | ) |
Button down message
evt | the input data |
int AnyCAD::Platform::View::OnLButtonUp | ( | InputEvent^ | evt | ) |
Button up message
evt | the input data |
int AnyCAD::Platform::View::OnMButtonDown | ( | InputEvent^ | evt | ) |
Button down message
evt | the input data |
int AnyCAD::Platform::View::OnMButtonUp | ( | InputEvent^ | evt | ) |
Button up message
evt | the input data |
int AnyCAD::Platform::View::OnMouseMove | ( | InputEvent^ | evt | ) |
Mouse move message
evt | the input data |
int AnyCAD::Platform::View::OnMouseWheel | ( | InputEvent^ | evt | ) |
Middle Button scroll message
evt | the input data |
int AnyCAD::Platform::View::OnRButtonDown | ( | InputEvent^ | evt | ) |
Button down message
evt | the input data |
int AnyCAD::Platform::View::OnRButtonUp | ( | InputEvent^ | evt | ) |
Button up message
evt | the input data |
void AnyCAD::Platform::View::OnSize | ( | int | nWidth, |
int | nHeight | ||
) |
Change the size of the view
nWidth | the width |
nHeight | the height |
int AnyCAD::Platform::View::OnTimer | ( | int | nTimerId | ) |
Button down message
nTimerId | the timer id |
void AnyCAD::Platform::View::Redraw | ( | ) |
Draw the view
void AnyCAD::Platform::View::ReloadDocument | ( | ) |
Reload the visible elements from document.
void AnyCAD::Platform::View::RequestDraw | ( | int | nRedrawHint | ) |
Request to draw the view
void AnyCAD::Platform::View::SetDefaultEditorId | ( | String^ | commandId | ) |
Set the default editor id.
commandId | the editor id. |
void AnyCAD::Platform::View::SetDocument | ( | Document^ | pDoc | ) |
Set the document
pDoc | the document |
bool AnyCAD::Platform::View::SetEditorMgr | ( | View^ | pView, |
ViewEditorManager^ | pEditMgr | ||
) |
Sets editor manager.
pView | The view. |
pEditMgr | Manager for edit. |
void AnyCAD::Platform::View::SetViewId | ( | ElementId^ | viewId | ) |
Set the view id.
viewId | the view id. |