Numeric list item in iText

How to create a numeric list item in iText, as in the below format?
1) Some text
2) Some text
3) Some text

NithyanandhanAsked:
Who is Participating?
 
Bryan ButlerConnect With a Mentor Commented:
Such as:

List list = new List(true, 20);
list.add(new ListItem("Some Text"));
list.add(new ListItem("Some Text"));
0
 
muktajindalCommented:
What do you mean by "numeric list item in iText" ?
0
 
NithyanandhanAuthor Commented:
muktajindal:
As I said... like this...

1) Some text
2) Some text
3) Some text
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Bryan ButlerCommented:
So if my example doesn't cut the musterd, please provide more details.  Thanks.
0
 
muktajindalCommented:
You will need to hard-code these numbers before your item names in the list.
0
 
Bryan ButlerCommented:
muktajindal,
Not sure exactly what you mean.  Are you saying my suggestions doesn't work or needs modified?  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.