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

Thanks for your inquiry.

  1. You can use Aspose.Words to convert Word documents to PDF. Please see the following link for more information:
    https://docs.aspose.com/words/net/convert-a-document-to-pdf/
  2. You can use Aspose.Recognition for converting PDF to Word document.
    https://docs.aspose.com/words/net/convert-pdf-to-other-document-formats/

Best regards.

Thank you very much!

alexey.noskov:
Hi

Thanks for your inquiry.

  1. You can use Aspose.Words to convert Word documents to PDF. Please see the following link for more information:
    https://docs.aspose.com/words/net/convert-a-document-to-pdf/
  2. You can use Aspose.Recognition for converting PDF to Word document.
    https://docs.aspose.com/words/net/convert-pdf-to-other-document-formats/

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,

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: https://docs.aspose.com/words/net/convert-a-document-to-pdf/
Thanks,