FileType class
Leave feedback
On this page
Represents a file type.
Learn more:
- https://docs.groupdocs.com/redaction/net/supported-document-formats/
- https://docs.groupdocs.com/redaction/net/get-supported-file-formats/
- https://docs.groupdocs.com/redaction/net/get-file-info/
The FileType type exposes the following members:
| Method | Description |
|---|---|
| equals | Determines whether the current FileType is the same as the specified FileType object. |
| equals | Determines whether the current FileType is the same as the specified object. |
| equals_file_type | |
| equals_object | |
| from_extension | Maps file extension to file type. |
| get_hash_code | Returns the hash code for the current FileType object. |
| get_supported_file_types | Retrieves supported file types. |
| to_string | Returns a string that represents the current object. |
| Property | Description |
|---|---|
| extension | The filename suffix, including the leading period, e.g., “.doc”. |
| file_format | The file format name, for example “Microsoft Word Document”. |
| Field | Description |
|---|---|
| UNKNOWN | Represents unknown file type. |
| TIF | Tagged Image File (.tif) |
| TIFF | Tagged Image File Format (.tiff) |
| JPG | JPEG Image (.jpg) |
| JPEG | JPEG Image (.jpeg) |
| PNG | Portable Network Graphic (.png) |
| GIF | Graphical Interchange Format File (.gif) |
| BMP | Bitmap Image File (.bmp) |
| JP2 | JPEG 2000 Core Image File (.jp2) |
| HTM | Hypertext Markup Language File (.htm) |
| HTML | Hypertext Markup Language File (.html) |
| Portable Document Format File (.pdf) | |
| PPT | PowerPoint Presentation (.ppt) |
| PPTX | PowerPoint Open XML Presentation (.pptx) |
| ODP | OpenDocument Presentation (.odp) |
| XLS | Excel Spreadsheet (.xls) |
| XLSX | Microsoft Excel Open XML Spreadsheet (.xlsx) |
| XLSM | Excel Open XML Macro-Enabled Spreadsheet (.xlsm) |
| XLSB | Excel Binary Spreadsheet (.xlsb) |
| CSV | Comma Separated Values File (.csv) |
| TSV | Tab Separated Values File (.tsv) |
| ODS | OpenDocument Spreadsheet (.ods) |
| OTS | OpenDocument Spreadsheet Template (.ots) |
| NUMBERS | Apple Numbers Spreadsheet (.numbers) |
| MD | Markdown Documentation File (.md) |
| DOC | Microsoft Word Document (.doc) |
| DOCX | Microsoft Word Open XML Document (.docx) |
| DOCM | Word Open XML Macro-Enabled Document (.docm) |
| DOT | Word Document Template (.dot) |
| DOTX | Word Open XML Document Template (.dotx) |
| DOTM | Word Open XML Macro-Enabled Document Template (.dotm) |
| RTF | Rich Text Format File (.rtf) |
| TXT | Plain Text File (.txt) |
| ODT | OpenDocument Text Document (.odt) |
| OTT | OpenDocument Document Template (.ott) |
Task guides that use FileType:
- module
groupdocs.redaction
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.