FileType

FileType class

Represents the file type. Provides methods to obtain list of all file types supported by GroupDocs.Parser.

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”.
Format { get; } Format of the file e.g. “WordProcessing”.

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
operator == Determines whether two FileType objects are the same.
operator != Determines whether two FileType objects are not the same.

Fields

Name Description
static readonly AZW3 AZW3, also known as Kindle Format 8 (KF8), is the modified version of the AZW ebook digital file format developed for Amazon Kindle devices. Learn more about this file format here.
static readonly BMP Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format here.
static readonly BZ2 Compressed file using Bzip2 algorithm.
static readonly CGM Computer Graphics Metafile (CGM) is free, platform-independent, international standard metafile format for storing and exchanging of vector graphics (2D), raster graphics, and text. Learn more about this file format here.
static readonly CHM The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. Learn more about this file format here.
static readonly CSV Files with CSV (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Learn more about this file format here.
static readonly DCM Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format here.
static readonly DIB A DIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. Learn more about this file format here.
static readonly DJVU DjVu, pronounced as “déjà vu”, is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format here.
static readonly DOC Files with .doc extension 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 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 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 Files with .DOT extension 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 A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format here.
static readonly DOTX Files with DOTX extension 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 Enhanced metafile format (EMF) stores graphical images device-independently. Learn more about this file format here.
static readonly EML EML file format represents email messages saved using Outlook and other relevant applications. Learn more about this file format here.
static readonly EMLX The EMLX file format is implemented and developed by Apple. The Apple Mail application uses the EMLX file format for exporting the emails. Learn more about this file format here.
static readonly EPS Files with EPS extension essentially describe an Encapsulated PostScript language program that describes the appearance of a single page. Learn more about this file format here.
static readonly EPUB Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers. Learn more about this file format here.
static readonly FB2 Files with FB2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook. Learn more about this file format here.
static readonly GIF A GIF or Graphical Interchange Format is a type of highly compressed image. Learn more about this file format here.
static readonly GZ Files with .gz extension are compressed files created with gzip compression application. Learn more about this file format here.
static readonly HTM Files with HTM extension represent Hypertext Markup Language for creating web pages for display in web browsers such as Google Chrome, Internet Explorer, Firefox and a number of others. Learn more about this file format here.
static readonly HTML HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format here.
static readonly ICO Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. Learn more about this file format here.
static readonly J2C JPEG 2000 (J2C) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here.
static readonly J2K JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here.
static readonly JP2 JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Learn more about this file format here.
static readonly JPC JPEG 2000 (JPC) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here.
static readonly JPEG A JPEG is a type of image format that is saved using the method of lossy compression. Learn more about this file format here.
static readonly JPF JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here.
static readonly JPG A JPG is a type of image format that is saved using the method of lossy compression. Learn more about this file format here.
static readonly JPM JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here.
static readonly JPX JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard. Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once. Learn more about this file format here.
static readonly MD Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. Learn more about this file format here.
static readonly MHT Files with MHT extension represent 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 Files with MHTML extension represent a web page archive format that can be created by a number of different applications. Learn more about this file format here.
static readonly MOBI The Mobipocket file format (originally with extension .prc and later .mobi) is a proprietary, partially documented, binary format for ebooks. Learn more about this file format here.
static readonly MSG MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact, appointment, or other tasks. Learn more about this file format here.
static readonly NUMBERS Files that contain the .numbers file extension are files that are created by the Apple iWork Numbers spreadsheet application.
static readonly ODG The ODG file format is used by Apache OpenOffice’s Draw application to store drawing elements as a vector image. Learn more about this file format here.
static readonly ODP Files with ODP extension represent presentation file format used by OpenOffice.org in the OASISOpen standard. Learn more about this file format here.
static readonly ODS Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user. Learn more about this file format here.
static readonly ODT ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. These are created with word processor applications such as free OpenOffice Writer and can hold content such as text, images, objects and styles. Learn more about this file format here.
static readonly ONE File represented by .ONE extension are created by Microsoft OneNote application. Learn more about this file format here.
static readonly OST OST or Offline Storage Files represent user’s mailbox data in offline mode on local machine upon registration with Exchange Server using Microsoft Outlook. Learn more about this file format here
static readonly OTP Files with .OTP extension represent presentation template files created by applications in OASIS OpenDocument standard format. Learn more about this file format here.
static readonly OTS The OTS files contain template files used by the OpenOffice spreadsheet application.
static readonly OTT Files with OTT extension represent template documents generated by applications in compliance with the OASIS’ OpenDocument standard format. Learn more about this file format here.
static readonly PCL PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). Learn more about this file format here.
static readonly PDF Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce 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 PICT The PICT file format is a meta-format that can be used for both bitmap images and vector images.
static readonly PNG PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. Learn more about this file format here.
static readonly POT Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions. Learn more about this file format here.
static readonly POTM Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files. Learn more about this file format here.
static readonly POTX Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above. Learn more about this file format here.
static readonly PPS PPS, PowerPoint Slide Show, files are 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 Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher. Learn more about this file format here.
static readonly PPSX PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. Learn more about this file format here.
static readonly PPT A file with PPT extension 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 Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions. Learn more about this file format here.
static readonly PPTX Files with PPTX extension are presentation files 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 (PS) is a general-purpose page description language used in the business of desktop and electronic publishing. Learn more about this file format here.
static readonly PSD PSD, Photoshop Document, represents Adobe Photoshop’s native file format used for graphics designing and development. Learn more about this file format here.
static readonly PST Files with .PST extension represent Outlook Personal Storage Files (also called Personal Storage Table) that store variety of user information. Learn more about this file format here
static readonly RAR Files with .rar extension represent archive files that are created for storing information in compressed or normal form. Learn more about this file format here.
static readonly RTF Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. The format facilitates cross-platform document exchange with other Microsoft Products, thus serving the purpose of interoperability. Learn more about this file format here.
static readonly SEVENZ 7z is an archiving format for compressing files and folders with a high compression ratio. Learn more about this file format here.
static readonly SVG An SVG file is a Scalar Vector Graphics file that uses XML based text format for describing the appearance of an image. Learn more about this file format here.
static readonly TAR Files with .tar extension are archives created with Unix-based utility for collecting one or more files. Learn more about this file format here.
static readonly TEXT A file with .TEXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format here.
static readonly TIF TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format here.
static readonly TIFF TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. Learn more about this file format here.
static readonly TSV A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. Learn more about this file format here.
static readonly TXT A file with .TXT extension 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 WEBP WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format here.
static readonly WMF Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format here.
static readonly XHTML The XHTML is a text based file format with markup in the XML, using a reformulation of HTML 4.0. Learn more about this file format here.
static readonly XLA The Excel 97-2003 Add-In, a supplemental program that is designed to run additional code. Supports the use of VBA projects.
static readonly XLAM The XML-based and macro-enabled Add-In format for Excel 2010 and Excel 2007. An Add-In is a supplemental program that is designed to run additional code. Supports the use of VBA projects and Excel 4.0 macro sheets (.xlm).
static readonly XLS Files with XLS extension represent Excel Binary File Format. Such files 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 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 Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format here.
static readonly XLSX XLSX is 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 Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet application which comes as part of Microsoft Office suite. Learn more about this file format here.
static readonly XLTM The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled template files. Learn more about this file format here.
static readonly XLTX Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML file format specifications. Learn more about this file format here.
static readonly XML XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. Learn more about this file format here.
static readonly ZIP ZIP file extension represents archives that can hold one or more files or directories. Learn more about this file format here.

Remarks

Learn more:

See Also