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

Free Support Forum - aspose.com

Retain Paragraph Formatting (Left Indent) during Rendering Word DOCX to PDF or Printing DOCX using C# .NET

Hi all,
I’m using latest Aspose Word version and import a word file.
But after print or render, some paragraph is not same original document.

Example:
Capture.PNG (275.2 KB)
AsposeTestApp.zip (58.8 KB)

Thank and best regard

@DungLT,

Please also convert your “HD 2 nam.docx” Word document to PDF and XPS formats by using “Save As” command of MS Word on your end, ZIP and attach the MS Word generated PDF & XPS files here for further testing.

Also, please use the latest 20.9 version of Aspose.Words for .NET on your end and convert “HD 2 nam.docx” Word document to PDF and XPS formats and share these files as well.

Document doc = new Document("C:\\temp\\HD 2 nam.docx");
doc.Save("C:\\temp\\20.9.pdf");
doc.Save("C:\\temp\\20.9.xps");

We will then investigate the issue further on our end and provide you more information.

@awais.hafeez
I trying save to PDF format but it same issue :frowning:

@DungLT,

As requested in my previous post, please provide MS Word generated PDF/XPS files and Aspose.Words generated PDF/XPS files here for further investigation.