API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > getSubSelection Method > OdDbTable::getSubSelection Method (OdInt32&, OdInt32&, OdInt32&, OdInt32&, OdInt32*)
OdDbTable::getSubSelection Method (OdInt32&, OdInt32&, OdInt32&, OdInt32&, OdInt32*)
Syntax
C++
virtual OdResult getSubSelection(OdInt32& rowMin, OdInt32& rowMax, OdInt32& colMin, OdInt32& colMax, OdInt32* subTable = NULL) const;
Parameters 
Description 
OdInt32& rowMin 
[out] Lower bound of row index.  
OdInt32& rowMax 
[out] Upper bound of row index.  
OdInt32& colMin 
[out] Lower bound of column index.  
OdInt32& colMax 
[out] Upper bound of column index.  
OdInt32* subTable = NULL 
[out] Number sub table in case breaking. 

Returns eOk if successful, eSubSelectionSetEmpty if there are no sub-selection cells, or an appropriate error code if not.

Returns the row and column indexes of the cells in the sub-selection set. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.