Property Getters/Setters Summary | ||
---|---|---|
method | getCellCount() | |
Gets all cell count in the range.
|
||
method | getColumnCount() | |
Gets the count of rows in the range.
|
||
method | getFirstColumn() | |
Gets the index of the first column of the range.
|
||
method | getFirstRow() | |
Gets the index of the first row of the range.
|
||
method | hasRange() | |
Indicates whether this has range.
|
||
method | getHyperlinks() | |
Gets all hyperlink in the range.
|
||
method | getName() | |
method | setName(value) | |
Gets or sets the name of the range. | ||
method | getRangeCount() | |
Gets the count of the ranges.
|
||
method | getRanges() | |
Gets all union ranges.
|
||
method | getRefersTo() | |
Gets the range's refers to.
|
||
method | getRowCount() | |
Gets the count of rows in the range.
|
||
method | getValue() | |
method | setValue(value) | |
Gets and sets the values of the range. |
Method Summary | ||
---|---|---|
method | applyStyle(style, flag) | |
Applies formats for a whole range.
|
||
method | copy(range, options) | |
Copying the range with paste special options.
|
||
method | intersect(ranges) | |
Intersects another range.
|
||
method | intersect(unionRange) | |
Intersects another range.
|
||
method | intersect(range) | |
Intersects another range.
|
||
method | iterator() | |
Gets the enumerator for cells in this Range.
|
||
method | merge() | |
Combines a range of cells into a single cell.
|
||
method | putValue(stringValue, isConverted, setStyle) | |
Puts a value into the range, if appropriate the value will be converted to other data type and cell's number format will be reset.
|
||
method | setOutlineBorders(borderStyle, borderColor) | |
Sets the outline borders around a range of cells with same border style and color.
|
||
method | setOutlineBorders(borderStyles, borderColors) | |
Sets out line borders around a range of cells.
|
||
method | setStyle(style) | |
Sets the style of the range.
|
||
method | union(ranges) | |
Union the ranges.
|
||
method | union(unionRange) | |
Union another range.
|
||
method | union(range) | |
Union another range.
|
||
method | unMerge() | |
Unmerges merged cells of this range.
|
int getFirstRow()
int getFirstColumn()
int getRowCount()
int getColumnCount()
Object getValue() / setValue(value)
String getName() / setName(value)
range.Name = "Sheet1!MyRange";
String getRefersTo()
boolean hasRange()
Hyperlink[] getHyperlinks()
int getCellCount()
int getRangeCount()
Range[] getRanges()
merge()
unMerge()
putValue(stringValue, isConverted, setStyle)
stringValue: String
- Input valueisConverted: boolean
- True: converted to other data type if appropriate.setStyle: boolean
- True: set the number format to cell's style when converting to other data typesetStyle(style)
style: Style
- The Style object.applyStyle(style, flag)
style: Style
- The style object which will be applied.flag: StyleFlag
- Flags which indicates applied formatting properties.copy(range, options)
range: UnionRange
- The source range.options: PasteOptions
- The paste special options.Iterator iterator()
setOutlineBorders(borderStyles, borderColors)
borderStyles: Number Array
- Border styles.borderColors: Color[]
- Border colors.setOutlineBorders(borderStyle, borderColor)
borderStyle: int
- A borderColor: Color
- Border color.UnionRange intersect(range)
range: String
- The range.UnionRange intersect(unionRange)
unionRange: UnionRange
- The range.UnionRange intersect(ranges)
ranges: Range[]
- The range.UnionRange union(range)
range: String
- The range.UnionRange union(unionRange)
unionRange: UnionRange
- The range.UnionRange union(ranges)
ranges: Range[]
- The ranges.