We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Get index from paragraph in a list

I'm evaluating DocIO and I am trying to determine if it is possible to obtain the index or preferably the number or letter of an item in a list. So in the example below I want to get "1." for the Heading paragraph and "1.1.", and for the list I want to get say "b" for Item 2.

1. Heading
1.1. Subheading
 a) Item 1
 b) Item 2
 c) Item 3

Thanks for you help,

1 Reply

AA Akash Arul Syncfusion Team February 15, 2023 12:33 PM UTC

On further analysis, we found that your requirement is to determine the list character. To meet your requirement, we suggest you to use the ListString API.

Please refer to the below UG documentation to know about determining the list character.

Please refer to the below GitHub sample for the above requirement

If this post is helpful, please consider accepting it as the solution so that other members can locate it more quickly.

Live Chat Icon For mobile
Up arrow icon