Hi,
Either a software bug or a documentation bug. From the help file:
BorderType Enumeration: This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
But in practice, I can't do this:
range.SetOutlineBorder(Aspose.Cells.BorderType.BottomBorder | Aspose.Cells.BorderType.LeftBorder | Aspose.Cells.BorderType.RightBorder | Aspose.Cells.BorderType.TopBorder, Aspose.Cells.CellBorderType.Medium, axaBlue);
I have to do this:
Aspose.Cells.Range range = MySheet.Cells.CreateRange(0, 0, rowsofar, 27);
range.SetOutlineBorder(Aspose.Cells.BorderType.BottomBorder , Aspose.Cells.CellBorderType.Medium, axaBlue);
range.SetOutlineBorder(Aspose.Cells.BorderType.LeftBorder, Aspose.Cells.CellBorderType.Medium, axaBlue);
range.SetOutlineBorder(Aspose.Cells.BorderType.RightBorder, Aspose.Cells.CellBorderType.Medium, axaBlue);
range.SetOutlineBorder(Aspose.Cells.BorderType.TopBorder, Aspose.Cells.CellBorderType.Medium, axaBlue);