XLL+ Class Library

COper::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 COper does not contain an array; if bArrayOnly is FALSE, then the function returns 1 for the number of columns of a non-array COper.

Return value

This function returns the width of an array.

Example

COper::GetWidth() Example

Requirements

Header: xllplus.h

See Also

COper Class | COper Methods