Manipulate View Using a Camera
CADCamera offers a high-level API for manipulating the view of the loaded CAD file (DWG, DXF, and DGN).
By changing CADCamera the produced output is also changed. For example, if CADCamera.Zoom(1.1) is used, the view in a ImGearPageView would change and so would the view when saving the page to file.
The CADCamera object can be accessed through the loaded ImGearCADPage as follows: ImGearCADPage.Camera
If viewing in an
ImGearPageView after using CADCamera functions, ImGearPageView.Invalidate() must be called.
This section provides information about how to manipulate CAD content using the operations provided in CADCamera: