Method ZoomToHeight
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ZoomToHeight(double, double, double)
Shows a view given by its centre and its height, as AutoCAD keeps the view of a viewport in a drawing (the VPORT
record's groups 12, 22 and 40): the height of the canvas covers height units, whatever the canvas's
width, so that a canvas twice as wide shows twice the width. The turn of the view is kept.
public void ZoomToHeight(double centerX, double centerY, double height)