FileFormatUtilExtensionToSaveFormat Method

Converts a file name extension into a SaveFormat value.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public static SaveFormat ExtensionToSaveFormat(
	string extension
)

Parameters

extension
Type: SystemString
The file extension. Can be with or without a leading dot. Case-insensitive.

Return Value

Type: SaveFormat
Remarks
If the extension cannot be recognized, returns Unknown.
See Also