Table of Contents

Method SetCurrentView

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

SetCurrentView(GeoPoint2, GeoPoint2)

Sets the view to show a box, fitted with no margin as ZOOM Window fits one.

public void SetCurrentView(GeoPoint2 first, GeoPoint2 second)

Parameters

first GeoPoint2

One corner.

second GeoPoint2

The opposite corner.

Exceptions

CadRemoteException

Thrown when the drawing is closed or is not the drawing shown, or the box has no width or no height.