code for adding Heading is:
string _text="Insurance Marketing: Insurance Company & Agency Contacts";
Heading _heading = new Heading(document, pageSec, 1);
Segment hSegmentTbl = new Segment( _text);
_heading.Segments.Add(hSegmentTbl);
_heading.LabelWidth = 5;
_heading.HeadingType = HeadingType.EnglishLower;
_heading.LabelPattern = "%)";
_heading.IsPrefixed = false; //Not Working - dont know
_heading.IsInList = true;
_heading.IsAutoSequence = true;
_heading.Margin.Top = 15;
_heading.Margin.Bottom = 15;
But the margin of the TOC page is:
lofSection.PageInfo.Margin.Right = 205;
lofSection.PageInfo.Margin.Left = 35;