sdViewport
Previous Topic  Next Topic 

 

A lot of important property and operation are done in the sdViewport. The user may access the Actvie sdViewport by the following command.

 

fDrawCtrl1.Document.ActiveView.

 

 

The user may transform the active view to certain orientation by the following command:

 

 

fDrawCtrl1.Document.ActiveView.View = fDraw.Objects.Constants.ViewMode.TOP;

fDrawCtrl1.Refresh();

 

 

 

 

 

 

fDrawCtrl1.Document.ActiveView.View = fDraw.Objects.Constants.ViewMode.BOTTOM;

fDrawCtrl1.Refresh();

 

 

 

 

 

 

fDrawCtrl1.Document.ActiveView.View = fDraw.Objects.Constants.ViewMode.LEFT;

fDrawCtrl1.Refresh();

 

 

 

 

 

 

 

 

fDrawCtrl1.Document.ActiveView.View = fDraw.Objects.Constants.ViewMode.RIGHT;

fDrawCtrl1.Refresh();

 

 

 

 

 

 

fDrawCtrl1.Document.ActiveView.View = fDraw.Objects.Constants.ViewMode.FRONT;

fDrawCtrl1.Refresh();

 

 

 

 

 

 

fDrawCtrl1.Document.ActiveView.View = fDraw.Objects.Constants.ViewMode.REAR;

fDrawCtrl1.Refresh();