codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  View object

A graphical representation of a 2D drawing or 3D model from a specific location (viewpoint) in space.

VBA class name:

AcadView 

Create using:

Views.Add 

Access via:

Views.Item 

The line of sight is drawn from the viewpoint (represented by the Center property) to the target point. The Height and Width properties crop the view. Note that these properties do not change the viewport size, only the size of the view visible within the viewport.

 

Note that the Delete method for a view is found on the View object, not the Views Collection. This is due to programming requirements specific to the View object.

To add a view, use the Add method from the Views Collection object. To edit or query a view, use the following methods and properties:

Methods

Delete

GetExtensionDictionary

GetXData

SetXData

Properties

Application

CategoryName

Center

Direction

Document

Handle

HasExtensionDictionary

HasVpAssociation

Height

LayerState

Name

LayoutID

ObjectID

ObjectName

OwnerID

Target

Width  

Events

Modified  

 

   Comments?