Share

View.Pan Method

Description

Pans the camera. During pan, the camera position and distance from position to target remain fixed; the camera target moves along the surface of a sphere described by these constraints. The X and Y parameters are in radians and correspond to angles traversed on this sphere along the cross product of the up vector and the eye vector (X) and along the up vector (Y). The X component of the pan is performed before the Y component.

Visual Basic

Public Function Pan(
    x As double, 
    y As double
) As void

C#

public void Pan(
    double x, 
    double y
);

Parameters

Parameters Description
double y Input up vector

Links

View Class, Autodesk.AutoCAD.GraphicsSystem Namespace

Was this information helpful?