This method returns the MIME type of the specified file.
Namespace: HotDocs.SdkAssembly: HotDocs.Sdk (in HotDocs.Sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- fileName
- Type:
System String
The file name (including extension) of the file. (The MIME type is determined from the extension, so the file name must have an extension.)
- onlyImages (Optional)
- Type:
System Boolean
Indicates whether or not all known MIME types should be checked, or only a small number of supported image MIME types.
Return Value
Type:
A string containing the MIME type for the file.
See Also