Method ViewBox
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ViewBox(DxfViewport)
The box of model space a viewport's frame shows: through a twisted view, the box about the frame turned.
public static DisplayBox ViewBox(DxfViewport viewport)
Parameters
viewportDxfViewportThe viewport.
Returns
- DisplayBox
The box.
Exceptions
- ArgumentNullException
Thrown when the viewport is null.