I am using a PdfFormatProvider to export the stream of a DocX.
I am displayinga preview of this docx as PDF within my application. The problem is, the PDF is not showing the correct spacing, line numbers and other items listed in the docX file.
When I save DocX as PDF it will display everything needed.
I am displayinga preview of this docx as PDF within my application. The problem is, the PDF is not showing the correct spacing, line numbers and other items listed in the docX file.
When I save DocX as PDF it will display everything needed.
Hi Patrick,
Can you share your code and document? This will allow us to properly investigate this and suggest a solution.
Thank you in advance for your patience and cooperation.
https://docs.telerik.com/devtools/document-processing/knowledge-base/convert-docx-to-pdf#:~:text=Solution,export%20it%20with%20the%20PdfFormatProvider.
Hi, Patrick,
My name is Dess and I am a member of the Telerik Document Processing team developing the WordsProcessing library. My colleague, Dimitar, brought this thread to my attention so I will be assisting you.
Thank you for sharing the code snippet. However, depending on the specific document, the result may be different according to the specific content. It is hard for us to investigate the issue without actually having the problematic DOCX file. Please try and prepare a sample file without the sensitive information. If you decide you can submit a private support ticket from your Telerik account and also send us the original file. You can be certain that it will be used only for investigation purposes of this case and your privacy will be respected.Looking forward to your reply