Method FitToClip
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
FitToClip()
Fits the frame of the viewport to the box of its clip boundary again, as AutoCAD does when the boundary is moved, scaled, stretched or turned: the frame is the box of the boundary, and the view keeps its scale and its place, so that a boundary moved 10 to the right takes the viewport 10 to the right showing what it showed. Nothing for a viewport that is not clipped, and nothing where the frame is already the box.
public bool FitToClip()
Returns
- bool
Whether the frame changed.
Exceptions
- InvalidOperationException
Thrown when the viewport is erased.