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

Free Support Forum - aspose.com

Doc file is converted to PDF with broken layout

Hi,

We are converting the attached Word doc file to pdf using next code:
var inputDocument = new Aspose.Words.Document(inputFileFullName);
var pdfSaveOptions = new Aspose.Words.Saving.PdfSaveOptions
{
DmlRenderingMode = Aspose.Words.Saving.DmlRenderingMode.DrawingML
};
pdfSaveOptions.OutlineOptions.HeadingsOutlineLevels = 9;

        inputDocument.Save(outputFileFullName, pdfSaveOptions);

The result pdf file has a broken layout (see attachment).

hgrgplc4.zip (6.4 KB)
hgrgplc4.pdf (60.2 KB)

Best regards
Valeriy

Hi Valeriy,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-15533. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Best Regards,
Tahir Manzoor
Aspose - File Format APIs

Keep in touch! We’re on Twitter and Facebook