Example:
$workbook = new cells\Workbook();
$index = $workbook->getWorksheets()->get(0)->getCheckBoxes()->add(15, 15, 20, 100);
$checkBox = $workbook->getWorksheets()->get(0)->getCheckBoxes()->get($index);
$checkBox->setText("Check Box 1");
| Property Getters/Setters Summary | ||
|---|---|---|
function | getCount() | |
function | get(index) | |
Gets the |
||
| Method Summary | ||
|---|---|---|
function | add(upperLeftRow, upperLeftColumn, height, width) | |
Adds a checkBox to the collection.
|
||
function | add(value) | |
Reserved for internal use. |
||
function | clear() | |
function | contains(value) | |
Reserved for internal use. |
||
function | get(index) | |
Reserved for internal use. |
||
function | indexOf(value) | |
Reserved for internal use. |
||
function | iterator() | |
function | removeAt(index) | |
function getCount()
function get(index)
index - The zero based index of the element.function add(upperLeftRow, upperLeftColumn, height, width)
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.function clear()
function removeAt(index)
function iterator()
function get(index)
function contains(value)
function add(value)
function indexOf(value)