Mark BorderSide enum as flagged

Hi, may I ask you to add flagged attribute to BorderSide enum? Because it supposed to use a flagged enum, but without this attribute we have warning in our project. Thank you

image.png (13.7 KB)

@mpek

Cause

The BorderSide enum in Aspose.PDF is currently not marked as a flagged enum, which can lead to warnings in projects that expect it to be used as such. Flagged enums allow for bitwise operations, enabling the combination of multiple values.

Solution

To resolve the warning, you should request the Aspose development team to add the [Flags] attribute to the BorderSide enum. This will allow it to be used as a bit field, enabling the combination of its values.

Next Steps

  1. Submit a feature request to the Aspose support team, clearly specifying the need for the [Flags] attribute on the BorderSide enum.
  2. If necessary, you can temporarily suppress the warning in your project, but it is advisable to have the enum updated for future compatibility.

Please proceed with these steps, and feel free to reach out if you need further assistance!