C++
AcDbObjectId tablestyle() const;
Description
Returns the object ID of the table style specified by the current CTABLESTYLE value of the database. See the System Variables section of the AutoCAD Command Reference for information on CTABLESTYLE.
If the function fails, the return value is AcDbObjectId::kNull.