Aspose::Cells::UnionRange::SetOutlineBorders method

UnionRange::SetOutlineBorders(const Vector <CellBorderType>&, const Vector <Aspose::Cells::Color>&) method

Sets out line borders around a range of cells.

void Aspose::Cells::UnionRange::SetOutlineBorders(const Vector<CellBorderType> &borderStyles, const Vector<Aspose::Cells::Color> &borderColors)
ParameterTypeDescription
borderStylesconst Vector <CellBorderType>&Border styles.
borderColorsconst Vector <Aspose::Cells::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

UnionRange::SetOutlineBorders(CellBorderType, const Aspose::Cells::Color&) method

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

void Aspose::Cells::UnionRange::SetOutlineBorders(CellBorderType borderStyle, const Aspose::Cells::Color &borderColor)
ParameterTypeDescription
borderStyleCellBorderTypeBorder style.
borderColorconst Aspose::Cells::Color&Border color.

See Also