C++
Acad::ErrorStatus setCellStyle( int nRow, int nCol, const ACHAR* pszCellStyle );
Description
Sets the the cell style of a cell, row, or column.
Returns Acad::eOk if successful; otherwise, returns an AutoCAD error status.
Note: 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.
Parameters
| Parameters | Description |
|---|---|
| nRow | Input row index. This can be -1. See remarks. |
| nCol | Input column index. This can be -1. See remarks. |
| pszCellStyle | Input cell style to set. The cell style should exist in the table style set in this table. |