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

Free Support Forum - aspose.com

How to determine Response.Contenttype

I am attempting to convert an xls to atab delimited. apparently the xls is saves under a different extension that what it was created in. the xls has a <% Response.Contenttype=application/vnd.ms-excel %> line at the top is there a way to programatically detect the Response.Contenttype and open it as necessary before attempting to save it out as a pdf and if so what FileFormatType is <% Response.Contenttype=application/vnd.ms-excel %> ?

Hi,

I think your query is not related to Aspose.Cells, so, we don’t have good solution for it, you may search online to sort it out.

Moreover, if you want to detect a file format type for a file/stream, you can use CellsHelper.DetectFileFormat static method.

Thank you.