Viewport Class

Visual Basic
Public Class Viewport
Inherits Entity
C#
public class Viewport : Entity;
Description

 

This .NET class wraps the AcDbViewport ObjectARX class. 

 

The Viewport class represents the VIEWPORT entity within AutoCAD.

Notes

Do not derive from this class. Attempting to do so will cause your application to halt AutoCAD. 

Most Viewport properties are reset to default values when the viewport is appended to a database. Therefore, you should always wait until you have added a new Viewport object to the database before you change its property values.

Links