Convert word to pdf : margin problem

Margins when converting a word document to PDF is not retained.
Do you know the problem, can you solve it?

I use the function

doc.Save(_memoryStream, Aspose.Words.SaveFormat.Pdf);

Hi,
Thanks for your inquiry. Could you please attach here the generated PDF file and the input Word document you are getting problem with for testing? I will check the scenerio at my side and provide you more information.
Best Regards,

Hi, thank you for your response.

I’ve attached the input file (word) and an image of the ouput file (pdf).
Unfortunately, it’s an external soft that generates the word, I can’t change it.

Thank’s for your help,
Best regards.

Hi
Thank you for additional information. But could you please also attach “C39HrP48DhTt” font use in your document to display barcode? We will check the issue and provide you more information.
Best regards,

Hi,

You’ll find the C39HrP48DhTt font

Best regards

Hi
Thank you for additional information. Unfortunately, I cannot reproduce the problem on my side. The output PDF looks the same as your input Word document. Please see the attached screenshot.
I used the latest version of Aspose.Words for testing. You can download it from here:
https://releases.aspose.com/words/net
Best regards,