How to identify whether the paragraph is in list or not?

**Hi there,

I need to find out whether the current paragraph is listed item or not. here is some of the contents in my document:**

Columns displayed are:

  • Patient
  • Date
  • Visit

or the data might be:

  1. scores

    1. Rater Station session_id
    2. Scale ID
    3. Item
  2. No Data

or it could be:

  • visit_scale
    • Relationships
  • SCALE_X
    • List of all scales

**So, when i am going thru each paragraph in word document, I need to identify whether the current paragraph is listed item or not? Is there any property or method to identify to achieve this?

Thanks,**

Hi

Thanks for your inquiry. Sure, you can use ParagraphFormat.IsListItem property:
https://reference.aspose.com/words/net/aspose.words/paragraphformat/islistitem/
Hope this helps.
Best regards.