Method SetActiveView
- Namespace
- vdWebLibrary
- Assembly
- JsPropertiesExtractor.dll
SetActiveView(object)
change the active layout and the zoom properties according to the passed view
public void SetActiveView(object view)
Parameters
viewobjectA string that defines an existing view name or an existing view object
Examples
For example we create a new view and we set it active.
var view = vdcanvas.AddView("newview");
view.ViewRenderMode = vdConst.RENDERMODE_SHADE_GL;
vdcanvas.SetActiveView(view); // -or- vdcanvas.SetActiveView("newview");
- See Also