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) | → inherited from CollectionBase |
Reserved for internal use. | ||
function | clear() | → inherited from CollectionBase |
function | contains(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
function | get(index) | → inherited from CollectionBase |
Reserved for internal use. | ||
function | indexOf(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
function | iterator() | → inherited from CollectionBase |
function | removeAt(index) | → inherited from CollectionBase |
Property Getters/Setters Detail |
---|
getCount : Number | |
function getCount() |
get : CheckBox | |
function get(index) |
index
- The zero based index of the element.Method Detail |
---|
add | |
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.clear | |
function clear() |
removeAt | |
function removeAt(index) |
iterator | |
function iterator() |
get | |
function get(index) |
contains | |
function contains(value) |
add | |
function add(value) |
indexOf | |
function indexOf(value) |