I've create a pdf with TOC refer to the example
Heading Chapter_Heading = new Heading(pdf, section, 2);
Segment Chapter_Segment = new Segment(Chapter_Heading);
Chapter_Heading.Segments.Add(Chapter_Segment);
Chapter_Segment.Content = String.Format(sectionName);
Chapter_Heading.IsInList = true;
section.Paragraphs.Add(Chapter_Heading);
If my text in the TOC and the text linked are different
e.g.
Table of Content
Point 1 .........................5
Point 2 .........................8
Point 3 .........................9
....
When click to the "Point 1"
Go to the page
------------------------------------------------------------
Category: Point 1
Type: xxx
------------------------------------------------------------
Detail
xxxx
In the recent coding
The text in the TOC and related paragraph are the same
How can I modify the paragraph only and not affect the TOC?