XLL+ Class Library

CXlOper::GetDims

Gets the number of rows and columns in an array

[C++]
void GetDims(
   USHORT& usRows,
   USHORT& usColumns,
   BOOL bArrayOnly = FALSE
) const;

Parameters

usRows

Reference to a variable which will contain the number of rows in the array.

usColumns

Reference to a variable that will contain the number of columns in the array.

bArrayOnly

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.

Remarks

This function gets the height and width of an array.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods