get_cell_display_style method
Contents
[
Hide
]get_cell_display_style(self, row, column)
Get the display style of given cell.
Returns
the display style of given cell.
def get_cell_display_style(self, row, column):
...
| Parameter | Type | Description |
|---|---|---|
| row | int | row index of given cell |
| column | int | column of given cell |
Remarks
Same with Cell.get_display_style,
and same with using BorderType.SIDE_BORDERS
for Cells.get_cell_display_style.
get_cell_display_style(self, row, column, adjacent_borders)
Get the display style of given cell.
Returns
the display style of given cell.
def get_cell_display_style(self, row, column, adjacent_borders):
...
| Parameter | Type | Description |
|---|---|---|
| row | int | row index of given cell |
| column | int | column of given cell |
| adjacent_borders | aspose.cells.BorderType | Indicates which borders need to be checked and adjusted according to the borders of adjacent cells. Please see the description for the same parameter of Cell.get_display_style. |
Remarks
If the cell is also affected by other settings such as conditional formatting, list objects, etc.,
then the display style may be different from Cells.get_cell_style.
And because those settings also may be applied to empty(non-existing) cells,
using this method can avoid the instantiation of those empty cells
so the performance will be better than getting the Cell instance from Cells
and then calling Cell.get_display_style.
See Also
- module
aspose.cells - class
Cells - class
Style