Property Getters/Setters Summary | ||
---|---|---|
function | getAddress() | |
Gets address of the range.
|
||
function | getColumnCount() | |
Gets the count of columns in the range.
|
||
function | getColumnWidth() | |
function | setColumnWidth(value) | |
Sets or gets the column width of this range | ||
function | getCurrentRegion() | |
Returns a Range object that represents the current region.
The current region is a range bounded by any combination of blank rows and blank columns.
|
||
function | getEntireColumn() | |
Gets a Range object that represents the entire column (or columns) that contains the specified range.
|
||
function | getEntireRow() | |
Gets a Range object that represents the entire row (or rows) that contains the specified range.
|
||
function | getFirstColumn() | |
Gets the index of the first column of the range.
|
||
function | getFirstRow() | |
Gets the index of the first row of the range.
|
||
function | getHeight() | |
Gets the width of a range in points.
|
||
function | getHyperlinks() | |
Gets all hyperlink in the range.
|
||
function | getLeft() | |
Gets the distance, in points, from the left edge of column A to the left edge of the range.
|
||
function | getName() | |
function | setName(value) | |
Gets or sets the name of the range. | ||
function | getRefersTo() | |
Gets the range's refers to.
|
||
function | getRowCount() | |
Gets the count of rows in the range.
|
||
function | getRowHeight() | |
function | setRowHeight(value) | |
Sets or gets the height of rows in this range | ||
function | getTop() | |
Gets the distance, in points, from the top edge of row 1 to the top edge of the range.
|
||
function | getValue() | |
function | setValue(value) | |
Gets and sets the value of the range. | ||
function | getWidth() | |
Gets the width of a range in points.
|
||
function | getWorksheet() | |
Gets the |
||
function | get(rowOffset, columnOffset) | |
Gets |
Method Summary | ||
---|---|---|
function | addHyperlink(address, textToDisplay, screenTip) | |
Adds a hyperlink to a specified cell or a range of cells.
|
||
function | applyStyle(style, flag) | |
Applies formats for a whole range.
|
||
function | autoFill(target) | |
Automaticall fill the target range.
|
||
function | autoFill(target, autoFillType) | |
Automaticall fill the target range.
|
||
function | copy(range) | |
Copies data (including formulas), formatting, drawing objects etc. from a source range.
|
||
function | copy(range, options) | |
Copying the range with paste special options.
|
||
function | copyData(range) | |
Copies cell data (including formulas) from a source range.
|
||
function | copyStyle(range) | |
Copies style settings from a source range.
|
||
function | copyValue(range) | |
Copies cell value from a source range.
|
||
function | getCellOrNull(rowOffset, columnOffset) | |
Gets |
||
function | getOffset(rowOffset, columnOffset) | |
Gets |
||
function | intersect(range) | |
Returns a |
||
function | isBlank() | |
Indicates whether the range contains values.
|
||
function | isIntersect(range) | |
Indicates whether the range is intersect.
|
||
function | iterator() | |
Gets the enumerator for cells in this Range.
|
||
function | merge() | |
Combines a range of cells into a single cell.
|
||
function | moveTo(destRow, destColumn) | |
Move the current range to the dest range.
|
||
function | 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.
|
||
function | setInsideBorders(borderEdge, lineStyle, borderColor) | |
Set inside borders of the range.
|
||
function | setOutlineBorder(borderEdge, borderStyle, borderColor) | |
Sets outline border around a range of cells.
|
||
function | setOutlineBorder(borderEdge, borderStyle, borderColor) | |
Sets outline border around a range of cells.
|
||
function | setOutlineBorders(borderStyle, borderColor) | |
Sets the outline borders around a range of cells with same border style and color.
|
||
function | setOutlineBorders(borderStyle, borderColor) | |
Sets the outline borders around a range of cells with same border style and color.
|
||
function | setOutlineBorders(borderStyles, borderColors) | |
Sets out line borders around a range of cells.
|
||
function | setStyle(style) | |
Sets the style of the range.
|
||
function | setStyle(style, explicitFlag) | |
Apply the cell style.
|
||
function | toHtml(saveOptions) | |
Convert the range to html .
|
||
function | toImage(options) | |
Converts the range to image.
|
||
function | toJson(options) | |
Convert the range to JSON value.
|
||
function | toString() | |
Returns a string represents the current Range object.
|
||
function | transpose() | |
Transpose (rotate) data from rows to columns or vice versa.
|
||
function | union(range) | |
Returns the union of two ranges.
|
||
function | unionRang(range) | |
Returns the union result of two ranges.
|
||
function | unionRanges(ranges) | |
Returns the union result of two ranges.
|
||
function | unMerge() | |
Unmerges merged cells of this range.
|
function getCurrentRegion()
function getHyperlinks()
function getRowCount()
function getColumnCount()
function getName() / function setName(value)
range.Name = "Sheet1!MyRange";
function getRefersTo()
function getAddress()
function getLeft()
function getTop()
function getWidth()
function getHeight()
function getFirstRow()
function getFirstColumn()
function getValue() / function setValue(value)
function getColumnWidth() / function setColumnWidth(value)
function getRowHeight() / function setRowHeight(value)
function getEntireColumn()
function getEntireRow()
function getWorksheet()
function get(rowOffset, columnOffset)
function autoFill(target)
target: Range
- the target range.function autoFill(target, autoFillType)
target: Range
- The targed range.autoFillType: Number
- A function addHyperlink(address, textToDisplay, screenTip)
address: String
- Address of the hyperlink.textToDisplay: String
- The text to be displayed for the specified hyperlink.screenTip: String
- The screenTip text for the specified hyperlink.function iterator()
function isIntersect(range)
range: Range
- The range.function intersect(range)
range: Range
- The intersecting range.function unionRang(range)
range: Range
- The rangefunction unionRanges(ranges)
ranges: Range[]
- The rangefunction union(range)
range: Range
- The rangefunction isBlank()
function merge()
function unMerge()
function 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 typefunction setStyle(style, explicitFlag)
style: Style
- The cell style.explicitFlag: boolean
- True, only overwriting formatting which is explicitly set.
function applyStyle(style, flag)
style: Style
- The style object which will be applied.flag: StyleFlag
- Flags which indicates applied formatting properties.function setStyle(style)
style: Style
- The Style object.function setOutlineBorders(borderStyle, borderColor)
borderStyle: Number
- A borderColor: CellsColor
- Border color.function setOutlineBorders(borderStyle, borderColor)
borderStyle: Number
- A borderColor: Color
- Border color.function setOutlineBorders(borderStyles, borderColors)
borderStyles: Number Array
- Border styles.borderColors: Color[]
- Border colors.function setOutlineBorder(borderEdge, borderStyle, borderColor)
borderEdge: Number
- A borderStyle: Number
- A borderColor: CellsColor
- Border color.function setOutlineBorder(borderEdge, borderStyle, borderColor)
borderEdge: Number
- A borderStyle: Number
- A borderColor: Color
- Border color.function setInsideBorders(borderEdge, lineStyle, borderColor)
borderEdge: Number
- A lineStyle: Number
- A borderColor: CellsColor
- The color of the border.function moveTo(destRow, destColumn)
destRow: Number
- The start row of the dest range.destColumn: Number
- The start column of the dest range.function copyData(range)
range: Range
- Source function copyValue(range)
range: Range
- Source function copyStyle(range)
range: Range
- Source function copy(range, options)
range: Range
- The source range.options: PasteOptions
- The paste special options.function transpose()
function copy(range)
range: Range
- Source function getCellOrNull(rowOffset, columnOffset)
function getOffset(rowOffset, columnOffset)
rowOffset: Number
- Row offset in this range, zero based.columnOffset: Number
- Column offset in this range, zero based.function toString()
function toImage(options)
options: ImageOrPrintOptions
- The options for converting this range to imagefunction toJson(options)
options: JsonSaveOptions
- The options of converting function toHtml(saveOptions)
saveOptions: HtmlSaveOptions
- Options for coverting range to html.