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

Free Support Forum - aspose.com

Missing Method in v9.3.0.0: Aspose.Words.Document.DetectFileFormat()


Unless I am being completely stupid I cannot find the public static method DetectFileFormat() in Aspose.Words.Document. I am using the latest version of Aspose.Words and this was definitely available in earlier versions. Has it moved to a different location within the API?



Hi Marc,

Thanks for your inquiry.

There were a few breaking changes to the public API in Aspose.Words 9.3. The details of these and how to fix them can be found in the migration article here.

If you have any trouble we are glad to assist.


Thanks. It is now in FileFormatUtil and returns a FileFormatInfo.