Free Support Forum - aspose.com

Doc to pdf and pdf to doc

Hello, I need to provide my users doc to pdf and pdf to doc options. My file are stored into the database, not on disk, so I need to use MemoryStream. The input file and result file should be MemoryStream, I don't want to save files to disk.

1. could you provide me some code example to convert doc to pdf?

2. could you provide me some code example to convert pdf to doc?

Thank you

Hi

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

Thanks for your inquiry.

1. You can use Aspose.Words to convert Word documents to PDF. Please see the following link for more information:

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.document.savetopdf_overload_3.html

2. You can use Aspose.Recognition for converting PDF to Word document.

http://www.aspose.com/documentation/file-format-components/aspose.recognition-for-.net/aspose.recognition.pdfrecognizer.open_overload_2.html

Best regards.

Thank you very much!

alexey.noskov:

Hi

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

Thanks for your inquiry.

1. You can use Aspose.Words to convert Word documents to PDF. Please see the following link for more information:

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.document.savetopdf_overload_3.html

2. You can use Aspose.Recognition for converting PDF to Word document.

http://www.aspose.com/documentation/file-format-components/aspose.recognition-for-.net/aspose.recognition.pdfrecognizer.open_overload_2.html

Best regards.

Since Aspose Recognition has been discontinued is there any other method using Aspose.Total to convert or import a PDF into other formats (i.e. Word) as a usable document (not a series of images)?

Hi Richard,

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

Thanks for your request. Unfortunately, there is no other Aspose. Product, which allows converting from PDF to Word document.

Best regards.

Hi there,

Just incase you haven't heard, The latest version of Aspose.Pdf now provides direct PDF to DOC conversion which preserves document elements as editable.

Please see the page here for details: http://www.aspose.com/documentation/.net-components/aspose.pdf-for-.net/convert-pdf-file-into-doc-format.html

Thanks,