Hi
Here a peace of Code to reproduce the Problem:
//The ListSection has set a default FormatArray of three levels.
//The user can use the default three levels' list without the pain of defining the list's format.
//But if you want to define your own list format, you should define it before using the list like the example.
Pdf pdf = new Pdf();
//Add four headings.
Section sec1 = pdf.Sections.Add();
for (int Level = 1; Level != 10; Level++)
{
Heading heading2 = new Heading(pdf, sec1, Level);
Segment segment2 = new Segment(heading2);
heading2.Segments.Add(segment2);
heading2.IsAutoSequence = true;
segment2.Content = "this is heading of level ";
segment2.Content += Level.ToString();
//Add the heading into Table Of Contents.
//heading2.IsInList = true;
//heading2.LabelWidth = 60;
//heading2.Margin = right;
sec1.Paragraphs.Add(heading2);
}
// Save the resultant PDF document
pdf.Save(@"Z:/pdftest/Colaboration_Test.pdf");
System.Diagnostics.Process.Start(@"Z:/pdftest/Colaboration_Test.pdf");
This works under 4.1.2 and under 4.2.1 it do not work.
Regards
Markus