Method SetViewDirection
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetViewDirection(DxfOrthographicView)
Points the view along an axis, as AutoCAD's SetViewDirection: from above (0, 0, 1), below (0, 0, -1), the front
(0, -1, 0), the back (0, 1, 0), the left (-1, 0, 0) or the right (1, 0, 0).
public void SetViewDirection(DxfOrthographicView view)
Parameters
viewDxfOrthographicViewThe view.
Exceptions
- ArgumentOutOfRangeException
Thrown when the view is not one of the six along an axis.
- InvalidOperationException
Thrown when the viewport is erased.