Method Pan
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Pan(GeoVector2)
Pans the view so that the drawing moves by the displacement, as -PAN does: (10, 0) moves what is drawn 10 to the right, so that the view shows 10 less at the left. One undo step named PAN.
public void Pan(GeoVector2 displacement)
Parameters
displacementGeoVector2The displacement, in drawing units, in the world.
Exceptions
- ArgumentException
Thrown when the displacement is not finite.