get_cell_display_style method

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):
    ...
ParameterTypeDescription
rowintrow index of given cell
columnintcolumn 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):
    ...
ParameterTypeDescription
rowintrow index of given cell
columnintcolumn of given cell
adjacent_bordersaspose.cells.BorderTypeIndicates 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