XLL+ Class Library

COper::GetHeight

Returns the number of rows in an array

[C++]
USHORT GetHeight(
   BOOL bArrayOnly = FALSE
) const;

Parameters

bArrayOnly

If the bArrayOnly parameter is TRUE, then the function asserts if the COper does not contain an array; if bArrayOnly is FALSE, then the function returns 1 for the number of rows of a non-array COper.

Return value

This function returns the height of an array.

Example

COper::GetHeight() Example

Requirements

Header: xllplus.h

See Also

COper Class | COper Methods