C++
double width() const;
Description
This function returns the width of the view in DCS coordinates. Zooming out within the viewport (and then resaving the view if it's an AcDbViewTableRecord) will increase this value. Zooming in (and resaving if appropriate) will decrease this value.
The view width is used for DXF group code 41 for AcDbViewTableRecords. For AcDbViewportTableRecords, the DXF group code 41 contains the ratio of the view width to height.