Aspose::Cells::Style::SetBorder method

Style::SetBorder(BorderType, CellBorderType, const Aspose::Cells::Color&) method

Sets the borders of the style.

bool Aspose::Cells::Style::SetBorder(BorderType borderType, CellBorderType borderStyle, const Aspose::Cells::Color &borderColor)
ParameterTypeDescription
borderTypeBorderTypeThe border(s) to be set, can be combination of BorderType.
borderStyleCellBorderTypeThe style of the border.
borderColorconst Aspose::Cells::Color&The color of the border.

ReturnValue

Whether current border settings have been changed.

See Also

Style::SetBorder(BorderType, CellBorderType, const CellsColor&) method

Sets the borders of the style.

bool Aspose::Cells::Style::SetBorder(BorderType borderType, CellBorderType borderStyle, const CellsColor &borderColor)
ParameterTypeDescription
borderTypeBorderTypeThe border(s) to be set, can be combination of BorderType.
borderStyleCellBorderTypeThe style of the border.
borderColorconst CellsColor&The color of the border.

ReturnValue

Whether current border settings have been changed.

See Also