BorderType enumeration doesn't allow bitwise combinations in Range.SetOutlineBorder

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);

Hi,

Thanks for considering Aspose.

We 'll check and response you soon.

Thank you.

Thank you for the information.

Yes, this is a documentation bug. I will remove it in the next version.