Share

AcDbViewport

Class Hierarchy

AcRxObject
    AcGiDrawable
        AcDbObject
            AcDbEntity
                AcDbViewport

C++

class AcDbViewport : public AcDbEntity;

File

dbents.h

Description

The AcDbViewport 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 AcDbViewport 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 AcDbViewport object to the database before you change its property values.

Links

AcDbViewport Enumerations, AcDbViewport Methods

Was this information helpful?