We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert any file format to PDF

Hi Team,


I will be getting just a stream of data from SAP application.
I dont know if its a word or excel or PDF
I want to convert it into PDF irrespective of the source file type.
Can I do that using aspose?

Thanks in adv.

Regards
Jyothi.

Hi Jyothi,

We have different APIs to work with different file formats. You can use FileFormatUtil.DetectFileFormat method from Aspose.Word and Aspose.Cells etc. to detect file format. In fact Aspose.Cells method can detect more file formats as compared to Aspose.Words as you can see at http://www.aspose.com/api/net/cells/aspose.cells/fileformattype

Once the file format is detected, you can use Aspose.Words to convert Word documents to PDF, Aspose.Cells to convert Excel documents to PDF, Aspose.Slides to convert PowerPoint documents to PDF, Aspose.Diagram to convert Visio documents to PDF and Aspose.Tasks to convert MS Project files to PDF. You can also use Aspose.Email and Aspose.Words to convert emails to PDF.

Best Regards,

Thank You !!