Aligning Table of Contents

Hi,

How can I align the table of contents to the centre of the page. It needs to be at both horizotal and vertical centre of the page.

And also how can i make the TOC numbered.

Thanks in advance

Subeesh

Dear Subeesh,

Horizontal center alignment is supported. The TOC example in the wiki is centered but normally we need the page number to be right aligned. Vertical center alignment is not supported and I am afraid we can't support it in short time.

Thanks.

Can i have the TOC numbered?

This question has been answered via live support.

How can I increase the space between the table of contents (padding top or bottom)

Dear Subeesh,

You can do it like the following:

tocSection.ListFormatArray[0].Margin.Bottom = 10;

Thanks

Actually this is what is wanted

tocSection.ListFormatArray[0].TextInfo.LineSpacing=10;