XLL+ Class Library

CXlOper::GetWidth

Returns the number of columns in an array

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

Parameters

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 columns of a non-array CXlOper.

Return value

This function returns the width of an array.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods