aspose.cells

Class CheckBoxCollection

Represents a collection of CheckBox objects in a worksheet.

Example:

var index = excel.getWorksheets().get(0).getCheckBoxes().add(15, 15, 20, 100);
var checkBox = excel.getWorksheets().get(0).getCheckBoxes().get(index);
checkBox.setText("Check Box 1");

Property Getters/Setters Summary
functiongetCount()
functionget(index)
Gets the CheckBox element at the specified index.
 
Method Summary
functionadd(upperLeftRow, upperLeftColumn, height, width)
Adds a checkBox to the collection.
functionadd(value)
Reserved for internal use.
functionclear()
functioncontains(value)
Reserved for internal use.
functionget(index)
Reserved for internal use.
functionindexOf(value)
Reserved for internal use.
functioniterator()
functionremoveAt(index)
 

    • Property Getters/Setters Detail

      • getCount : Number 

        function getCount()
        
      • get : CheckBox 

        function get(index)
        
        Gets the CheckBox element at the specified index.
        Parameters:
        index - The zero based index of the element.
        Returns:
        The element at the specified index.
    • Method Detail

      • add

        function add(upperLeftRow, upperLeftColumn, height, width)
        Adds a checkBox to the collection.
        Parameters:
        upperLeftRow: Number - Upper left row index.
        upperLeftColumn: Number - Upper left column index.
        height: Number - Height of checkBox, in unit of pixel.
        width: Number - Width of checkBox, in unit of pixel.
        Returns:
        CheckBox object index.
      • clear

        function clear()
      • removeAt

        function removeAt(index)
      • iterator

        function iterator()
      • get

        function get(index)
        Reserved for internal use.
      • contains

        function contains(value)
        Reserved for internal use.
      • add

        function add(value)
        Reserved for internal use.
      • indexOf

        function indexOf(value)
        Reserved for internal use.