When we use Aspose.words to convert a DOCX to PDF, the margins are messed up. Actually, the left margin goes away. I have attached the input DOCX and the output PDF.
Is there a workaround for this? Thanks!
Here's some code. As you can see, I'm simply opening the file, renaming it and saving as PDF.
words.Document doc = new words.Document(Filename);
string uid = Guid.NewGuid().ToString();
FileInfo fi = new FileInfo(Filename);
string fname = fi.Name;
string ext = fi.Extension;
string outputname = uid + "." + fname.Replace(ext, ".PDF");
string paramExportFilePath = TempFileLocation + outputname;
Thanks for your help!