ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Formats.CAD Namespace / CADCamera Class / Pan Method
Amount to translate on the camera's "right" axis.
Amount to translate on the camera's "up" axis




In This Topic
    Pan Method
    In This Topic
    Pans the camera
    Syntax
    'Declaration
     
    Public Sub Pan( _
       ByVal x As Double, _
       ByVal y As Double _
    ) 
    'Usage
     
    Dim instance As CADCamera
    Dim x As Double
    Dim y As Double
     
    instance.Pan(x, y)
    public void Pan( 
       double x,
       double y
    )
    public: void Pan( 
       double x,
       double y
    ) 
    public:
    void Pan( 
       double x,
       double y
    ) 

    Parameters

    x
    Amount to translate on the camera's "right" axis.
    y
    Amount to translate on the camera's "up" axis
    Remarks

    Panning the camera means: moving the camera along it's "up" axis and "right" axis.

    Will invalidate camera's ImGearCADPage, so if viewing in a ImGearPageView you must do ImGearPageView.Update() to see changes.

    See Also