Hi
I use Aspose.Word 13 in Asp.net and C#.
In my code i combine two word file in one. In final convert it to pdf.
My problem is: The size of pdf file is not same word file.
For test and trace program, before convert to pdf, i save it to a temp word file. In temp word everything is ok but in pdf some margin or size have problem.
Here is my code:
oWordDoc = new Aspose.Words.Document(WordFile)
…
… some code
…
var opt = new Aspose.Words.Saving.PdfSaveOptions();
opt.NumeralFormat = Aspose.Words.Saving.NumeralFormat.Context;
oWordDoc.Save(PdfFileName, opt);
What’s wrong?
Thank’s
Hi there,
Thanks for your inquiry. Could you please attach your input Word documents along with complete code here for testing? I will investigate the issue on my side and provide you more information.
Yes of course.
In word file i notation data that wrong in pdf file by red color. This data in pdf file show mirror.
The correct is: "124،314،750"
But in pdf file converted to: "750،314،124"
Here is my code to convert word to pdf:
var w = new Aspose.Words.Document(wordfileAddress);
var opt = new Aspose.Words.Saving.PdfSaveOptions();
opt.NumeralFormat = Aspose.Words.Saving.NumeralFormat.Context;
w.Save(pdfFileAddress, opt);
You may need “B Zar” and “B Lotous” font to open word file. I attach them by this post.
Thank’s
I change word document before convert it to pdf by this code:
w.Range.Replace("،", “,”, false, false);
My problem has fixed temporary but note that i change main word document.
I’d be happy if you show me how to fix this problem without change word document.
Thank’s
The issues you have found earlier (filed as WORDSNET-8186) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.