FileType
Contents
[
Hide
]
FileType class
Represents file type. Provides methods to obtain list of all file types supported by GroupDocs.Merger, detect file type by extension etc.
public sealed class FileType : IEquatable<FileType>
Properties
Name | Description |
---|---|
Extension { get; } | Filename suffix (including the period “.”) e.g. “.doc”. |
FileFormat { get; } | File type name e.g. “Microsoft Word Document”. |
Methods
Name | Description |
---|---|
static FromExtension(string) | Maps file extension to file type. |
Equals(FileType) | Determines whether the current FileType is the same as specified FileType object. |
override Equals(object) | Determines whether the current FileType is the same as specified object. |
override GetHashCode() | Returns the hash code for the current FileType object. |
override ToString() | Returns a string that represents the current object. |
static GetSupportedFileTypes() | Retrieves supported file types |
static IsArchive(FileType) | Determines whether input FileType is archive format. |
static IsAudio(FileType) | Determines whether input FileType is audio format. |
static IsImage(FileType) | Determines whether input FileType is image format. |
static IsText(FileType) | Determines whether input FileType is primitive text format. |
operator == | Determines whether two FileType objects are the same. |
operator != | Determines whether two FileType objects are not the same. |
Fields
Name | Description |
---|---|
static readonly BMP | Bitmap Image File (.bmp) represent files that are used to store bitmap digital images. Learn more about this file format here. |
static readonly BZ2 | Bzip2 Compressed File (.bz2) |
static readonly CSV | Comma Separated Values File (.csv) represents plain text files that contain records of data with comma separated values. Learn more about this file format here. |
static readonly DOC | Microsoft Word Document (.doc) represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format here. |
static readonly DOCM | Word Open XML Macro-Enabled Document (.docm) files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format here. |
static readonly DOCX | Microsoft Word Open XML Document (.docx) is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format here. |
static readonly DOT | Word Document Template (.dot) files are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format here. |
static readonly DOTM | Word Open XML Macro-Enabled Document Template (.dotm) represents template file created with Microsoft Word 2007 or higher. Learn more about this file format here. |
static readonly DOTX | Word Open XML Document Template (.dotx) are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format here. |
static readonly EMF | Windows Enhanced Metafile (.emf) |
static readonly EMZ | Windows Compressed Enhanced Metafile (.emz) |
static readonly EPUB | Open eBook File (.epub) are an e-book file format that provide a standard digital publication format for publishers and consumers. The format has been so common by now that it is supported by many e-readers and software applications. Learn more about this file format here. |
static readonly ERR | Error Log File (.err) is a text file that contains error messages generated by a program. Learn more about this file format here. |
static readonly GIF | Graphical Interchange Format File (.gif) |
static readonly GZ | G-Zip Compressed File (.gz) |
static readonly HTML | Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers. Learn more about this file format here. |
static readonly JPEG | JPEG Image (.jpeg) is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format here. |
static readonly JPG | JPEG Image (.jpg) |
static readonly MHT | MHTML Web Archive (.mht) is a web page archive format that can be created by a number of different applications. Learn more about this file format here. |
static readonly MHTML | MIME HTML File (.mhtml) is a web page archive format that can be created by a number of different applications. Learn more about this file format here. |
static readonly MP3 | Files with .mp3 extension are digitally encoded file formats for audio files that are formally based on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III. It was developed by the Moving Picture Experts Group (MPEG) that uses Layer 3 audio compression. Compression achieved by MP3 file format is 1/10th the size of .WAV or .AIF files. Learn more about this file format here. |
static readonly ODP | OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format here. |
static readonly ODS | OpenDocument Spreadsheet (.ods) Learn more about this file format here. |
static readonly ODT | OpenDocument Text Document (.odt) files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format here. |
static readonly ONE | OneNote Document (.one) files are created by Microsoft OneNote application. OneNote lets you gather information using the application as if you are using your draftpad for taking notes. Learn more about this file format here. |
static readonly OTP | OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format here. |
static readonly OTT | OpenDocument Document Template (.ott) represent template documents generated by applications in compliance with the OASIS’ OpenDocument standard format. Learn more about this file format here. |
static readonly PDF | Portable Document Format File (.pdf) isa file format that was to introduced as a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format here. |
static readonly PNG | Portable Network Graphic (.png) is a type of raster image file format that use loseless compression. Learn more about this file format here. |
static readonly PPS | PowerPoint Slide Show (.pps) is a file created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format here. |
static readonly PPSM | PowerPoint Open XML Macro-Enabled Slide (.ppsm) |
static readonly PPSX | PowerPoint Open XML Slide Show (.ppsx) is a file created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format here. |
static readonly PPT | PowerPoint Presentation (.ppt) represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. Learn more about this file format here. |
static readonly PPTM | PowerPoint Open XML Macro-Enabled Presentation |
static readonly PPTX | PowerPoint Open XML Presentation (.pptx) is a presentation file created with popular Microsoft PowerPoint application. Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format here. |
static readonly PS | PostScript File (.ps) |
static readonly RAR | Roshal ARchive Compressed File (.rar) |
static readonly RTF | Rich Text Format File (.rtf) introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format here. |
static readonly SevenZ | 7-Zip Compressed File (.7z) |
static readonly SVG | Scalable Vector Graphics File (.svg) |
static readonly SVGZ | Scalable Vector Graphics Compressed File (.svgz) |
static readonly TAR | Consolidated Unix File Archive (.tar) |
static readonly TEX | LaTeX Source Document (.tex) is a language that comprises of programming as well as mark-up features, used to typeset documents. Learn more about this file format here. |
static readonly TIF | Tagged Image File (.tif) |
static readonly TIFF | Tagged Image File Format (.tiff) |
static readonly TSV | Tab Separated Values File (.tsv) represents data separated with tabs in plain text format. Learn more about this file format here. |
static readonly TXT | Plain Text File (.txt) represents a text document that contains plain text in the form of lines. Learn more about this file format here. |
static readonly Unknown | Represents unknown file type. |
static readonly VDX | Visio Drawing XML File (.vdx)is a drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Learn more about this file format here. |
static readonly VSD | Visio Drawing File (.vsd) |
static readonly VSDM | Visio Macro-Enabled Drawing (.vsdm) are drawing files created with Microsoft Visio application that supports macros. VSDM files are OPC/XML drawings that are similar to VSDX, but also provide the capability to run macros when the file is opened. Learn more about this file format here. |
static readonly VSDX | Visio Drawing (.vsdx) represents Microsoft Visio file format introduced from Microsoft Office 2013 onwards. It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio. Learn more about this file format here. |
static readonly VSS | Visio Stencil File(.vss) |
static readonly VSSM | Visio Macro-Enabled Stencil File (.vssm) are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows to run the macros to achieve desired formatting and placement of shapes in a diagram. Learn more about this file format here. |
static readonly VSSX | Visio Stencil File (.vssx) are drawing stencils created with Microsoft Visio 2013 and above. The VSSX file format can be opened with Visio 2013 and above. Visio files are known for representation of a variety of drawing elements such as collection of shapes, connectors, flowcharts, network layout, UML diagrams, Learn more about this file format here. |
static readonly VST | Visio Drawing Template (.vst) |
static readonly VSTM | Visio Macro-Enabled Drawing Template (.vstm) are template files created with Microsoft Visio that support macros. Unlike VSDX files, files created from VSTM templates can run macros that are developed in Visual Basic for Applications (VBA) code. Learn more about this file format here. |
static readonly VSTX | Visio Drawing Template (.vstx) are drawing template files created with Microsoft Visio 2013 and above. These VSTX files provide starting point for creating Visio drawings, saved as .VSDX files, with default layout and settings. Learn more about this file format here. |
static readonly VSX | Visio Stencil XML File (.vsx) refers to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. Learn more about this file format here. |
static readonly VTX | Visio Template XML File (.vtx) is a Microsoft Visio drawing template that is saved to disc in XML file format. The template is aimed to provide a file with basic settings that can be used to create multiple Visio files of the same settings. Learn more about this file format here. |
static readonly WAV | WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft’s Resource Interchange File Format (RIFF) specification for storing digital audio files. The format doesn’t apply any compression to the bitstream and stores the audio recordings with different sampling rates and bitrates. It has been and is one of the standard format for audio CDs. Learn more about this file format here. |
static readonly XLAM | Excel Macro-Enabled Add-In (.xlam) |
static readonly XLS | Excel Spreadsheet (.xls) is a file that can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about this file format here. |
static readonly XLSB | Excel Binary Spreadsheet (.xlsb) file format specifies the Excel Binary File Format, which is a collection of records and structures that specify Excel workbook content. Learn more about this file format here. |
static readonly XLSM | Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros. Learn more about this file format here. |
static readonly XLSX | Microsoft Excel Open XML Spreadsheet (.xlsx) is a well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Learn more about this file format here. |
static readonly XLT | Excel Template File (.xlt) are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Microsoft Office 97-2003 supported creating new XLT files as well as opening these. Learn more about this file format here. |
static readonly XLTM | Excel Open XML Macro-Enabled Spreadsheet Template (.xltm) represents files that are generated by Microsoft Excel as Macro-enabled template files. XLTM files are similar to XLTX in structure other than that the later doesn’t support creating template files with macros. Learn more about this file format here. |
static readonly XLTX | Excel Open XML Spreadsheet Template (.xltx) files are based on the Office OpenXML file format specifications. It is used to create a standard template file that can be utilized to generate XLSX files that exhibit the same settings as specified in the XLTX file. Learn more about this file format here. |
static readonly XPS | XML Paper Specification File (.xps) represents page layout files that are based on XML Paper Specifications created by Microsoft. Learn more about this file format here. |
static readonly ZIP | Zipped File (.zip) |
Remarks
Learn more
- Learn more about file formats supported by GroupDocs.Merger: Full list of supported document formats
- Learn more about getting supported file types in code: How to get supported file formats in code
See Also
- namespace GroupDocs.Merger.Domain
- assembly GroupDocs.Merger