Interface defining the attributes for viewport table records.

interface AcDbViewportTableRecordAttrs {
    backgroundObjectId?: string;
    circleSides: number;
    extensionDictionary?: string;
    gridMajor: number;
    gridSpacing: AcGePoint2d;
    gsView: AcGiView;
    lowerLeftCorner: AcGePoint2d;
    name: string;
    objectId?: string;
    ownerId?: string;
    snapAngle: number;
    snapBase: AcGePoint2d;
    snapSpacing: AcGePoint2d;
    standardFlag: number;
    ucsElevation: number;
    upperRightCorner: AcGePoint2d;
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

Properties

backgroundObjectId?: string

Background object ID for the viewport

circleSides: number

Number of sides used for circle tessellation

extensionDictionary?: string

The objectId of the extension dictionary owned by the object. If the object does not own an extension dictionary, then the returned objectId is set to undefined.

gridMajor: number

Grid major spacing for the viewport

gridSpacing: AcGePoint2d

Grid spacing for the viewport

gsView: AcGiView

Graphics system view configuration

lowerLeftCorner: AcGePoint2d

Lower left corner of the viewport window

name: string

The name of the symbol table record

objectId?: string

Unique identifier for the object

ownerId?: string

Identifier of the object that owns this object

snapAngle: number

Snap angle for the viewport

snapBase: AcGePoint2d

Snap base point for the viewport

snapSpacing: AcGePoint2d

Snap spacing for the viewport

standardFlag: number

Standard flags for the viewport

ucsElevation: number

UCS elevation for the viewport (DXF group 146)

upperRightCorner: AcGePoint2d

Upper right corner of the viewport window