XLL+ Class Library (6.3)

CXlOper::GetWidth

Returns the number of columns in an array

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.

Example

CXlOper::GetWidth() Example

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods