Share

AcDbAbstractViewTableRecord::setWidth

C++

void setWidth(
    double width
);

Description

This function sets the TableRecord to use width (in DCS coordinates) as 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.

Parameters

Parameters Description
width Input width (in DCS) of view represented by the TableRecord

Links

AcDbAbstractViewTableRecord

Was this information helpful?