Hi,
I like to convert my word to pdf. While saving as PDF is it a way to save in particular dpi. eg save in 600 dpi. However after converting to pdf the quality is not good. We are using following code.
// Start MS word application
wordDoc = OpenWordDoc(ref spoolFilePath);
// save Document as PDF
if (wordDoc != null)
{
wordDoc.Activate();
object fileFormat = WdSaveFormat.wdFormatPDF;
object oPdfFilePath = Convert.ChangeType(pdfFilePath, typeof(object));
// C# doesn't have optional arguments so we'll need a dummy value object
oMissing = System.Reflection.Missing.Value;
wordDoc.SaveAs(ref oPdfFilePath, ref fileFormat, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing);
}
Many Thanks,
This message was posted using Email2Forum by Mudassir Fayyaz.