C++
Acad::ErrorStatus acdbGetCurUserViewportId( AcDbDatabase* pDb, AcDbObjectId& vpId );
File
dbxutil.h
Description
This function returns the object ID of the AcDbViewport that was current before any draw methods are called on any entity in the database. The entity draw methods can manipulate what is the current viewport.
Parameters
Parameters | Description |
---|---|
pDb | Input database to get the object ID of the AcDbViewport from |
vpId | Output object ID of the AcDbViewport |