asposecells.api

Class CheckBoxCollection

Represents a collection of CheckBox objects in a worksheet.

Example:

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

Property Getters/Setters Summary
methodgetCount()
methodget(index)
Gets the CheckBox element at the specified index.
 
Method Summary
methodadd(upperLeftRow, upperLeftColumn, height, width)
Adds a checkBox to the collection.
methodadd(value)
Reserved for internal use.
methodclear()
methodcontains(value)
Reserved for internal use.
methodget(index)
Reserved for internal use.
methodindexOf(value)
Reserved for internal use.
methoditerator()
methodremoveAt(index)
 

    • Property Getters/Setters Detail

      • getCount : int 

        int getCount()
        
      • get : CheckBox 

        CheckBox 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

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

         clear()
      • removeAt

         removeAt(index)
      • iterator

        Iterator iterator()
      • get

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

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

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

        int indexOf(value)
        Reserved for internal use.