HI,
I am using table of contents and my requirement is to move a part of the Heading to the next line in the table of contents. i have tried to use line break
"\n" but nothing seems to work.
I am adding a string to the heading as
Heading h1 = new Heading(pdf,sec,1);
Segment s1 = new Segment();
S1.content = "text1" + "
" + "Text2"; //My requiremnet is to show the text in two lines.
h1.segments.add(s1);
h1.isInList = true;
sec1.paragraphs.add(h1);
Please help. some