FileTypeFromFileNameOrExtension Method
Return FileType based on file name or extension.

Namespace: GroupDocs.Annotation
Assembly: GroupDocs.Annotation (in GroupDocs.Annotation.dll) Version: 21.9.0.0 (21.9)
Syntax
public static FileType FromFileNameOrExtension(
	string fileNameOrExtension
)

Parameters

fileNameOrExtension
Type: SystemString
The file name or file extension.

Return Value

Type: FileType
The file type.
See Also