set_outline_borders method

set_outline_borders

Sets the outline borders around a range of cells with same border style and color.

def set_outline_borders(self, border_style, border_color):
    ...
ParameterTypeDescription
border_styleCellBorderTypeBorder style.
border_colorCellsColorBorder color.

set_outline_borders

Sets the outline borders around a range of cells with same border style and color.

def set_outline_borders(self, border_style, border_color):
    ...
ParameterTypeDescription
border_styleCellBorderTypeBorder style.
border_coloraspose.pydrawing.ColorBorder color.

set_outline_borders {#list-aspose.pydrawing.Color[]}

Sets out line borders around a range of cells.

def set_outline_borders(self, border_styles, border_colors):
    ...
ParameterTypeDescription
border_styleslistBorder styles.
border_colorsaspose.pydrawing.Color[]Border colors.

Remarks

Both the length of borderStyles and borderStyles must be 4. The order of borderStyles and borderStyles must be top,bottom,left,right

See Also