CellsHelperDetectFileFormat Method (String)

Note: This API is now obsolete.

Detects the file format type.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
[ObsoleteAttribute("Use FileFormatUtil.DetectFileFormat(string) instead.")]
public static FileFormatType DetectFileFormat(
	string fileName
)

Parameters

fileName
Type: SystemString
the file name

Return Value

Type: FileFormatType
The file format type.
Remarks
This member is now obsolete. Instead, please use DetectFileFormat(String) property. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced.
See Also