CheckBoxCollection

CheckBoxCollection class

Represents a collection of CheckBox objects in a worksheet.

class CheckBoxCollection;

Methods

MethodDescription
get(number)Gets the CheckBox element at the specified index.
add(number, number, number, number)Adds a checkBox to the collection.
getCount()Gets the number of elements contained in.

get(number)

Gets the CheckBox element at the specified index.

get(index: number) : CheckBox;

Parameters:

ParameterTypeDescription
indexnumberThe zero based index of the element.

Returns

The element at the specified index.

add(number, number, number, number)

Adds a checkBox to the collection.

add(upperLeftRow: number, upperLeftColumn: number, height: number, width: number) : number;

Parameters:

ParameterTypeDescription
upperLeftRownumberUpper left row index.
upperLeftColumnnumberUpper left column index.
heightnumberHeight of checkBox, in unit of pixel.
widthnumberWidth of checkBox, in unit of pixel.

Returns

CheckBox object index.

getCount()

Gets the number of elements contained in.

getCount() : number;