FileType class

FileType class

Represents file type.

The FileType type exposes the following members:

Properties

Property Description
file_format_name Gets the file type name e.g., “Microsoft Word Document”.
extension Gets the file name suffix (including the period “.”) e.g., “.doc”.
format_family Gets the format family.
UNKNOWN Represents unknown file type.
OOXML Office open xml file (.ooxml).
VSD VSD files are drawings created with Microsoft Visio application to represent variety of graphical
objects and the interconnection between these. Learn more about this file format
here.
VSDX Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft
Office 2013 onwards. Learn more about this file format
here.
VSS VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing
objects that can be included in a .VSD Visio drawing. Learn more about this file format
here.
VSSX Files with .VSSX extension are drawing stencils created with Microsoft Visio 2013 and above.
Learn more about this file format
here.
VSDM Files with VSDM extension are drawing files created with Microsoft Visio application that supports macros.
Learn more about this file format
here.
VST Files with VST extension are vector image files created with Microsoft Visio and act as template for
creating further files. Learn more about this file format
here.
VSTX Files with VSTX extensions are drawing template files created with Microsoft Visio 2013 and above.
Learn more about this file format
here.
VSTM Files with VSTM extension are template files created with Microsoft Visio that support macros.
Learn more about this file format here.
VSSM Files with .VSSM extension are Microsoft Visio Stencil files that support provide support for macros.
Learn more about this file format here.
VSX Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for
creating diagrams in Microsoft Visio. Learn more about this file format
here.
VTX A file with VTX extension is a Microsoft Visio drawing template that is saved to disc in XML file format.
Learn more about this file format here.
VDW VDW is the Visio Graphics Service file format that specifies the streams and storages required for
rendering a Web drawing. Learn more about this file format
here.
VDX Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension.
Learn more about this file format here.
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.
EML EML file format represents email messages saved using Outlook and other relevant applications.
Learn more about this file format here.
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.
OFT Files with .OFT extension represent message template files that are created using Microsoft Outlook.
Learn more about this file format here.
TIF TIFF or 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.
TIFF TIFF or 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.
JPG A JPEG is a type of image format that is saved using the method of lossy compression.
Learn more about this file format here.
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.
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.
GIF A GIF or Graphical Interchange Format is a type of highly compressed image.
Learn more about this file format here.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
XLSM Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format
here.
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.
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.
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.
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.
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.
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.
DOCM DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros.
Learn more about this file format here.
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.
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.
DOTM A file with DOTM extension represents template file created with Microsoft Word 2007 or higher.
Learn more about this file format here.
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.
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.
FLAT_OPC Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package (.xml).
Learn more about this file format here.
FLAT_OPC_MACRO_ENABLED Office Open XML WordprocessingML Macro-Enabled Document stored in a flat XML file instead of a ZIP package (.xml).
Learn more about this file format here.
FLAT_OPC_TEMPLATE Office Open XML WordprocessingML Template (macro-free) stored in a flat XML file instead of a ZIP package (.xml).
Learn more about this file format here.
FLAT_OPC_TEMPLATE_MACRO_ENABLED Office Open XML WordprocessingML Macro-Enabled Template stored in a flat XML file instead of a ZIP package (.xml).
Learn more about this file format here.

Methods

Method Description
equals Determines whether the current FileType is the same as the specified FileType object.
from_extension Maps the file extension to the file type.
get_supported_file_types Retrieves the supported file types.

Remarks

This class provides methods to obtain list of all file types supported by GroupDocs.Watermark . Learn more | | | | |

See Also