Share

Viewport.ViewDirection Property

Description

Returns the current view direction of the viewport. This value can be calculated from the target and camera points in WCS:

vViewDir = ptCamera - ptTarget

Visual Basic

Public virtual Property ViewDirection() As Vector3d

C#

public virtual Vector3d ViewDirection;

Conditions

Read-only

Links

Viewport Class, Autodesk.AutoCAD.GraphicsInterface Namespace

Was this information helpful?