 | FileDataGetFormat Method |
Get the current file format using file extension or content signature.
Namespace:
Opait.Api
Assembly:
Opait.Core (in Opait.Core.dll) Version: 1.3.3.0
Syntaxpublic FileFormat GetFormat(
bool useContent = false
)
Parameters
- useContent (Optional)
- Type: SystemBoolean
A flag to indicate whether to use content or extension.
Return Value
Type:
FileFormatThe format of the current file.
See Also