Aspose::Cells::Range::SetOutlineBorders method

Range::SetOutlineBorders(CellBorderType, const CellsColor&) method

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

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

See Also

Range::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::Range::SetOutlineBorders(CellBorderType borderStyle, const Aspose::Cells::Color &borderColor)
ParameterTypeDescription
borderStyleCellBorderTypeBorder style.
borderColorconst Aspose::Cells::Color&Border color.

See Also

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

Sets out line borders around a range of cells.

void Aspose::Cells::Range::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