FileFormatUtilDetectFileFormat Method (String)

Detects and returns the information about a format of an excel stored in a file.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public static FileFormatInfo DetectFileFormat(
	string filePath
)

Parameters

filePath
Type: SystemString
The file path.

Return Value

Type: FileFormatInfo
A FileFormatInfo object that contains the detected information.
See Also