Autodesk.AutoCAD.DatabaseServices.DBObject Autodesk.AutoCAD.DatabaseServices.Entity Autodesk.AutoCAD.DatabaseServices.Viewport
Public Class Viewport Inherits Entity
public class Viewport : Entity;
This .NET class wraps the AcDbViewport ObjectARX class.
The Viewport class represents the VIEWPORT entity within AutoCAD.
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.