List designators in parens

I’m trying to convert DOCX to another xml format. I have list items where the designator is in parenthesis. I’m getting the list number and style, but how do I detect when the designator needs to be output within parenthesis? For example
(B) With respect…
(i) the plan provides
(ii) the holder of any claim …

This message was posted using Page2Forum from Aspose.Words for .NET - Documentation

Hi
Thanks for your request. First of all, you can use ListLevel.NumberFormat property to get format of the list number.
https://reference.aspose.com/words/net/aspose.words.lists/listlevel/numberformat/
Also, if you need simply get the list number, you can achieve this using ListLabel as described here:
https://reference.aspose.com/words/net/aspose.words.lists/listlabel/
Hope this helps.
Best regards,