Method EnterViewport
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
EnterViewport(string)
Works in model space through a viewport of the layout shown, as a double click inside it does in AutoCAD: the selection is let go, and ActiveViewportChanged raised where it was not already the one.
public bool EnterViewport(string handle)
Parameters
handlestringThe handle of the viewport.
Returns
- bool
False, nothing changed, where the layout shown has no such viewport, or the viewport cannot be worked through: the sheet's own, one switched off, or one whose view is not a plan, which the canvas cannot show the cursor in. A plan twisted by DVIEW TWist is worked through turned, as AutoCAD works through it.