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

A bounded area that displays some portion of a drawing's model space.

VBA class name:

AcadViewport 

Create using:

Viewports.Add 

Access via:

Viewports.Item
Document.ActiveViewport 

The ActiveSpace property (equivalent to the TILEMODE system variable) determines the type of viewport used.

No editing or view changes can be performed unless the viewport is active. To make a viewport active, use the ActiveViewport property on the Document object.

Once changes have been completed, the viewport must be reset as the active viewport for the changes to appear. To reset the active viewport, simply call the ActiveViewport property again with the updated Viewport object.

Methods

Delete

GetExtensionDictionary

GetGridSpacing

GetSnapSpacing

GetXData

SetGridSpacing

SetSnapSpacing

SetView

SetXData

Split  

Properties

Application

ArcSmoothness

Center

Direction

Document

GridOn

Handle

HasExtensionDictionary

Height

LowerLeftCorner

Name

ObjectID

ObjectName

OrthoOn

OwnerID

SnapBasePoint

SnapOn

SnapRotationAngle

Target

UCSIconAtOrigin

UCSIconOn

UpperRightCorner

Width  

Events

Modified  

 

   Comments? 
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.