var vpt = acTransNewDb.GetObject(newDb.ViewportTableId, _AcDb.OpenMode.ForRead)as _AcDb.ViewportTable;
var vptr = acTransNewDb.GetObject(vpt["*Active"], _AcDb.OpenMode.ForWrite)as _AcDb.ViewportTableRecord;
Note that my drawing is a new one created in memory and not on screen. All entities added are in the default modelspace location.
The problem is that the ViewportTableRecord element does not include the extra properties like ViewCenter etc. For these properties I need the Viewport element instead. How do I get this?