Share

AcDbTable::setMargin

C++

Acad::ErrorStatus setMargin(
    int nRow, 
    int nCol, 
    AcDb::CellMargin nMargins, 
    double fMargin
);

Description

Sets the margin of cell, row, or column.

To specify cell pass a valid row and column indices; to specify row pass a valid row index and pass -1 as column index; to specify column pass a valid column index and pass -1 as row index.

Returns Acad::eOk if successful; otherwise, returns an AutoCAD error status.

Parameters

Parameters Description
nRow Input row index. This can be -1. See remarks.
nMargins Input margin type to set. Multiple margin types can be combined using OR
fMargin Input margin value to set
ncol Input column index. This can be -1. See remarks.

Links

AcDbTable

Was this information helpful?