We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Table of Contents is Jagged along the right column

When I convert this table of contents to PDF the alignment is jagged on the right column... What can I do to fix this? See sample files.

Code used is:

public void ConvertDocToPdf(string aDocPath)


string pdfPath = System.IO.Path.ChangeExtension(aDocPath, ".pdf");

Aspose.Pdf.Pdf pdf = ConvertWithStream(aDocPath);






I have tested your file with Aspose.Words and Aspose.Pdf and was not able to reproduce the error. I have attached the new Aspose.Pdf dll. Please try again and let us know if it solves your problem.