FileType class
FileType class
Represents file type. Provides methods to obtain list of all file types supported by GroupDocs.Merger , detect file type by extension etc.
The FileType type exposes the following members:
Properties
Property | Description |
---|---|
file_format | File type name e.g. “Microsoft Word Document”. |
extension | Filename suffix (including the period “.”) e.g. “.doc”. |
UNKNOWN | Represents unknown file type. |
ZIP | Zipped File (.zip) |
GZ | G-Zip Compressed File (.gz) |
SEVEN_Z | 7-Zip Compressed File (.7z) |
TAR | Consolidated Unix File Archive (.tar) |
RAR | Roshal ARchive Compressed File (.rar) |
BZ2 | Bzip2 Compressed File (.bz2) |
VST | Visio Drawing Template (.vst) |
VSS | Visio Stencil File(.vss) |
VSD | Visio Drawing File (.vsd) |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
BMP | Bitmap Image File (.bmp) represent files that are used to store bitmap digital images. Learn more about this file format here. |
JPG | JPEG Image (.jpg) |
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. |
PNG | Portable Network Graphic (.png) is a type of raster image file format that use loseless compression.
Learn more about this file format here. |
PS | PostScript File (.ps) |
TIF | Tagged Image File (.tif) |
TIFF | Tagged Image File Format (.tiff) |
GIF | Graphical Interchange Format File (.gif) |
SVG | Scalable Vector Graphics File (.svg) |
SVGZ | Scalable Vector Graphics Compressed File (.svgz) |
EMF | Windows Enhanced Metafile (.emf) |
EMZ | Windows Compressed Enhanced Metafile (.emz) |
HTML | Hypertext Markup Language File (.html) is the extension for web pages created for display in browsers.
Learn more about this file format here. |
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. |
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. |
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. |
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. |
|
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. |
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. |
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. |
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. |
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. |
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. |
ODP | OpenDocument Presentation (.odp) represents presentation file format used by OpenOffice.org in the OASISOpen standard.
Learn more about this file format here. |
OTP | OpenDocument Presentation Template (.otp) represents presentation template files created by applications in OASIS OpenDocument standard format.
Learn more about this file format here. |
PPTM | PowerPoint Open XML Macro-Enabled Presentation |
PPSM | PowerPoint Open XML Macro-Enabled Slide (.ppsm) |
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. |
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. |
XLSM | Excel Open XML Macro-Enabled Spreadsheet (.xlsm) is a type of Spreasheet files that support macros.
Learn more about this file format here. |
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. |
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. |
TSV | Tab Separated Values File (.tsv) represents data separated with tabs in plain text format.
Learn more about this file format here. |
ODS | OpenDocument Spreadsheet (.ods)
Learn more about this file format here. |
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. |
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. |
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. |
XLAM | Excel Macro-Enabled Add-In (.xlam) |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
ERR | Error Log File (.err) is a text file that contains error messages generated by a program.
Learn more about this file format here. |
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. |
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. |
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. |
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. |
Methods
Method | Description |
---|---|
from_extension | Maps file extension to file type. |
get_supported_file_types | Retrieves supported file types |
equals | Determines whether the current FileType is the same as specified FileType object. |
is_text | Determines whether input FileType is primitive text format. |
is_archive | Determines whether input FileType is archive format. |
is_image | Determines whether input FileType is image format. |
is_audio | Determines whether input FileType is audio format. |
Remarks
Learn more | | | |
See Also
- module
groupdocs.merger.domain
- class
FileType