Free Support Forum - aspose.com

Re: Aspose.Pdf.Kit License Issue

Hi,

I have used the following code to my application. It was working fine.Suddenly it's not working now.And I am getting the following error

'asposepdf' is not a member of 'Aspose.Words.SaveFormat'.

Used the code as below.

// New a Doc object.
Aspose.Words.Document doc = new Aspose.Words.Document("Test.doc");

// Save the doc in a xml fille that can be handled by Aspose.Pdf.
doc.Save("Test.xml", SaveFormat.AsposePdf);

Can you do needful to me?

Thankyou,

Kalai

Hi Kalai,

This issue is related to Aspose.Words and I have moved it to the related forum. A concerned representative would be able to help you out shortly.

Regards,

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. AsposePdf was an intermediate format using for converting Word documents to PDF using old legacy method. This method required both Aspose.Words and Aspose.Pdf for converting documents to PDF. Currently this old method of PDF conversion is excluded from Aspose.Words. You should use direct-to-PDF method. Please see the following link for more information:

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

Best regards,