The pan function in the CADCamera class allows users to move the camera along its local x and y axes.
The CADViewer demo demonstrates this functionality. See Samples.
The following Pan sample illustrates how you use the pan function:
The Pan function is generally used for changing position relative to a certain point. If you wish to simply go to a specific position in the view, use the page.Camera.LookAt(x, y, z) or page.Camera.SetPosition(x, y, z) functions where x, y, and z are integers representing the position of the camera on the respective global axes.