Free Support Forum - aspose.com

Aspose.word .net pdf conversion

Hi,

I am trying out your product, I am using the ability to convert word to pdf, the following code pretty much achives this all:
var editor = new Aspose.Pdf.Facades.PdfFileEditor
{
AllowConcatenateExceptions = true
};
editor.Concatenate(fileNames.ToArray(), output);

The problem I am having is that is taking 100% of my cpu wile the conversion is working.

Any ideas on how I can force it to take a little less ?

Thank you,

Hello

Thanks for your request. As I can see you are using Aspose.Pdf. Please see the following code which will allow you converting any MS Word document to PDF using Aspose.Words:

Document doc = new Document("C:\\Temp\\in.doc");

doc.Save("C:\\Temp\\out.pdf", SaveFormat.Pdf);

Also please follow this link to learn more:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/howto-convert-a-document-to-pdf.html

If you will have any additional questions related to Aspose.Pdf product you can write to the appropriate forum and my colleagues from Aspose.Pdf team will answer you shortly.

Best regards,