create_range method
Contents
[
Hide
]create_range
Creates a Range
object from an address of the range.
Returns
A Range
object
def create_range(self, address):
...
Parameter | Type | Description |
---|---|---|
address | str | The address of the range. |
create_range
Creates a Range
object from a range of cells.
Returns
A Range
object
def create_range(self, upper_left_cell, lower_right_cell):
...
Parameter | Type | Description |
---|---|---|
upper_left_cell | str | Upper left cell name. |
lower_right_cell | str | Lower right cell name. |
create_range
Creates a Range
object from rows of cells or columns of cells.
Returns
A Range
object.
def create_range(self, first_index, number, is_vertical):
...
Parameter | Type | Description |
---|---|---|
first_index | int | First row index or first column index, zero based. |
number | int | Total number of rows or columns, one based. |
is_vertical | bool | True - Range created from columns of cells. False - Range created from rows of cells. |
create_range
Creates a Range
object from a range of cells.
Returns
A Range
object
def create_range(self, first_row, first_column, total_rows, total_columns):
...
Parameter | Type | Description |
---|---|---|
first_row | int | First row of this range |
first_column | int | First column of this range |
total_rows | int | Number of rows |
total_columns | int | Number of columns |
See Also
- module
aspose.cells
- class
Cells
- class
Range