Class FileFormatUtil
Detects document formats and package capabilities from file paths.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public static class FileFormatUtil
Methods
DetectFileFormat(string)
Detects the format and package capabilities of an existing file.
Declaration
public static FileFormatInfo DetectFileFormat(string fileName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fileName | The path of the file to inspect. |
Returns
| Type | Description |
|---|---|
| FileFormatInfo | Detected format information, or an unknown result when the file cannot be identified. |