Gets the number of rows and columns in an array
void GetDims( USHORT& usRows, USHORT& usColumns, BOOL bArrayOnly = FALSE ) const; void GetDims( size_t& szRows, size_t& szColumns, BOOL bArrayOnly = FALSE ) const; |
Reference to a variable which will contain the number of rows in the array.
Reference to a variable that will contain the number of columns in the array.
If the bArrayOnly parameter is true, then the function asserts if the CXlOper does not contain an array; if bArrayOnly is false, then the function returns 1 for the number of rows and columns of a non-array CXlOper.
Reference to a variable which will contain the number of rows in the array.
Reference to a variable that will contain the number of columns in the array.
This function gets the height and width of an array.
CXlOper::GetDims() Example | MySum Example
Header: xllplus.h