FileType Class
Represents file type. Provides methods to obtain list of all file types supported by GroupDocs.Viewer.
Inheritance Hierarchy
SystemObject
  GroupDocs.ViewerFileType

Namespace: GroupDocs.Viewer
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.8
Syntax
[SerializableAttribute]
public sealed class FileType : IEquatable<FileType>

The FileType type exposes the following members.

Properties
  NameDescription
Public propertyExtension
Filename suffix (including the period ".") e.g. ".doc".
Public propertyFileFormat
File type name e.g. "Microsoft Word Document".
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the current FileType is the same as specified object.
(Overrides ObjectEquals(Object).)
Public methodEquals(FileType)
Determines whether the current FileType is the same as specified FileType object.
Public methodStatic memberFromExtension
Maps file extension to file type.
Public methodGetHashCode
Returns the hash code for the current FileType object.
(Overrides ObjectGetHashCode.)
Public methodStatic memberGetSupportedFileTypes
Retrieves supported file types
Public methodGetType (Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two FileType objects are the same.
Public operatorStatic memberInequality
Determines whether two FileType objects are not the same.
Fields
  NameDescription
Public fieldStatic memberAS
ActionScript File (.as)
Public fieldStatic memberAS3
ActionScript File (.as)
Public fieldStatic memberASM
Assembly Language Source Code File (.asm)
Public fieldStatic memberBAT
DOS Batch File (.bat)
Public fieldStatic memberBMP
Bitmap Image File (.bmp)
Public fieldStatic memberBZ2
Bzip2 Compressed File (.bz2)
Public fieldStatic memberC
C/C++ Source Code File (.c)
Public fieldStatic memberCC
C++ Source Code File (.cc)
Public fieldStatic memberCDR
CorelDraw Vector Graphic Drawing (.cdr)
Public fieldStatic memberCGM
Computer Graphics Metafile (.cgm)
Public fieldStatic memberCMAKE
CMake File (.cmake)
Public fieldStatic memberCPP
C++ Source Code File (.cpp)
Public fieldStatic memberCS
C# Source Code File (.cs)
Public fieldStatic memberCSS
Cascading Style Sheet (.css)
Public fieldStatic memberCSV
Comma Separated Values File (.csv)
Public fieldStatic memberCXX
C++ Source Code File (.cxx)
Public fieldStatic memberDCM
DICOM Image (.dcm)
Public fieldStatic memberDGN
MicroStation Design File (.dgn)
Public fieldStatic memberDIB
Device Independent Bitmap File (.dib)
Public fieldStatic memberDIFF
Patch File (.diff)
Public fieldStatic memberDJVU
DjVu Image (.djvu)
Public fieldStatic memberDNG
Digital Negative Specification (.dng)
Public fieldStatic memberDOC
Microsoft Word Document (.doc)
Public fieldStatic memberDOCM
Word Open XML Macro-Enabled Document (.docm)
Public fieldStatic memberDOCX
Microsoft Word Open XML Document (.docx)
Public fieldStatic memberDOT
Word Document Template (.dot)
Public fieldStatic memberDOTM
Word Open XML Macro-Enabled Document Template (.dotm)
Public fieldStatic memberDOTX
Word Open XML Document Template (.dotx)
Public fieldStatic memberDWF
Design Web Format File (.dwf)
Public fieldStatic memberDWG
AutoCAD Drawing Database File (.dwg)
Public fieldStatic memberDXF
Drawing Exchange Format File (.dxf)
Public fieldStatic memberEMF
Enhanced Windows Metafile (.emf)
Public fieldStatic memberEML
E-Mail Message (.eml)
Public fieldStatic memberEMLX
Apple Mail Message (.emlx)
Public fieldStatic memberEPS
Encapsulated PostScript File (.eps)
Public fieldStatic memberEPUB
Open eBook File (.epub)
Public fieldStatic memberERB
Ruby ERB Script (.erb)
Public fieldStatic memberGIF
Graphical Interchange Format File (.gif)
Public fieldStatic memberGROOVY
Groovy Source Code File (.groovy)
Public fieldStatic memberH
C/C++/Objective-C Header File (.h)
Public fieldStatic memberHAML
Haml Source Code File (.haml)
Public fieldStatic memberHH
C++ Header File (.hh)
Public fieldStatic memberHTM
Hypertext Markup Language File (.htm)
Public fieldStatic memberHTML
Hypertext Markup Language File (.html)
Public fieldStatic memberICO
Icon File (.ico)
Public fieldStatic memberIFC
Industry Foundation Classes File (.ifc)
Public fieldStatic memberJ2C
JPEG 2000 Code Stream (.j2c)
Public fieldStatic memberJ2K
JPEG 2000 Code Stream (.j2k)
Public fieldStatic memberJAVA
Java Source Code File (.java)
Public fieldStatic memberJP2
JPEG 2000 Core Image File (.jp2)
Public fieldStatic memberJPC
JPEG 2000 Code Stream (.jpc)
Public fieldStatic memberJPEG
JPEG Image (.jpeg)
Public fieldStatic memberJPF
JPEG 2000 Image File (.jpf)
Public fieldStatic memberJPG
JPEG Image (.jpg)
Public fieldStatic memberJPM
JPEG 2000 Image File (.jpm)
Public fieldStatic memberJPX
JPEG 2000 Image File (.jpx)
Public fieldStatic memberJS
JavaScript File (.js)
Public fieldStatic memberJSON
JavaScript Object Notation File (.json)
Public fieldStatic memberLESS
LESS Style Sheet (.less)
Public fieldStatic memberLOG
Log File (.log)
Public fieldStatic memberM
Objective-C Implementation File (.m)
Public fieldStatic memberMAKE
Xcode Makefile Script (.make)
Public fieldStatic memberMD
Markdown Documentation File (.md)
Public fieldStatic memberMHT
MHTML Web Archive (.mht)
Public fieldStatic memberMHTML
MIME HTML File (.mhtml)
Public fieldStatic memberML
ML Source Code File (.ml)
Public fieldStatic memberMM
Objective-C++ Source File (.mm)
Public fieldStatic memberMOBI
Mobipocket eBook (.mobi)
Public fieldStatic memberMPP
Microsoft Project File (.mpp)
Public fieldStatic memberMPT
Microsoft Project Template (.mpt)
Public fieldStatic memberMPX
Microsoft Project Exchange file (.mpx)
Public fieldStatic memberMSG
Outlook Mail Message (.msg)
Public fieldStatic memberODG
OpenDocument Graphic File (.odg)
Public fieldStatic memberODP
OpenDocument Presentation (.odp)
Public fieldStatic memberODS
OpenDocument Spreadsheet (.ods)
Public fieldStatic memberODT
OpenDocument Text Document (.odt)
Public fieldStatic memberONE
OneNote Document (.one)
Public fieldStatic memberOST
Outlook Offline Data File (.ost)
Public fieldStatic memberOTP
OpenDocument Presentation Template (.otp)
Public fieldStatic memberOTS
OpenDocument Spreadsheet Template (.ots)
Public fieldStatic memberOTT
OpenDocument Document Template (.ott)
Public fieldStatic memberPCL
Printer Command Language Document (.pcl)
Public fieldStatic memberPDF
Portable Document Format File (.pdf)
Public fieldStatic memberPHP
PHP Source Code File (.php)
Public fieldStatic memberPL
Perl Script (.pl)
Public fieldStatic memberPNG
Portable Network Graphic (.png)
Public fieldStatic memberPOT
PowerPoint Template (.pot)
Public fieldStatic memberPOTM
PowerPoint Open XML Macro-Enabled Presentation Template (.potm)
Public fieldStatic memberPOTX
PowerPoint Open XML Presentation Template (.potx)
Public fieldStatic memberPPS
PowerPoint Slide Show (.pps)
Public fieldStatic memberPPSM
PowerPoint Open XML Macro-Enabled Slide (.ppsm)
Public fieldStatic memberPPSX
PowerPoint Open XML Slide Show (.ppsx)
Public fieldStatic memberPPT
PowerPoint Presentation (.ppt)
Public fieldStatic memberPPTM
PowerPoint Open XML Macro-Enabled Presentation
Public fieldStatic memberPPTX
PowerPoint Open XML Presentation (.pptx)
Public fieldStatic memberPROPERTIES
Java Properties File (.properties)
Public fieldStatic memberPS
PostScript File (.ps)
Public fieldStatic memberPSD
Adobe Photoshop Document (.psd)
Public fieldStatic memberPST
Outlook Personal Information Store File (.pst)
Public fieldStatic memberPY
Python Script (.py)
Public fieldStatic memberRB
Ruby Source Code (.rb)
Public fieldStatic memberRST
reStructuredText File (.rst)
Public fieldStatic memberRTF
Rich Text Format File (.rtf)
Public fieldStatic memberSASS
Syntactically Awesome StyleSheets File (.sass)
Public fieldStatic memberSCALA
Scala Source Code File (.scala)
Public fieldStatic memberSCM
Scheme Source Code File (.scm)
Public fieldStatic memberSCRIPT
Generic Script File (.script)
Public fieldStatic memberSH
Bash Shell Script (.sh)
Public fieldStatic memberSML
Standard ML Source Code File (.sml)
Public fieldStatic memberSQL
Structured Query Language Data File (.sql)
Public fieldStatic memberSTL
Stereolithography File (.stl)
Public fieldStatic memberSVG
Scalable Vector Graphics File (.svg)
Public fieldStatic memberTAR
Consolidated Unix File Archive (.tar)
Public fieldStatic memberTEX
LaTeX Source Document (.tex)
Public fieldStatic memberTIF
Tagged Image File (.tif)
Public fieldStatic memberTIFF
Tagged Image File Format (.tiff)
Public fieldStatic memberTSV
Tab Separated Values File (.tsv)
Public fieldStatic memberTXT
Plain Text File (.txt)
Public fieldStatic memberUnknown
Represents unknown file type.
Public fieldStatic memberVB
Visual Basic Project Item File (.vb)
Public fieldStatic memberVCF
vCard File (.vcf)
Public fieldStatic memberVDW
Visio Web Drawing (.vdw)
Public fieldStatic memberVDX
Visio Drawing XML File (.vdx)
Public fieldStatic memberVIM
Vim Settings File (.vim)
Public fieldStatic memberVSD
Visio Drawing File (.vsd)
Public fieldStatic memberVSDM
Visio Macro-Enabled Drawing (.vsdm)
Public fieldStatic memberVSDX
Visio Drawing (.vsdx)
Public fieldStatic memberVSS
Visio Stencil File(.vss)
Public fieldStatic memberVSSM
Visio Macro-Enabled Stencil File (.vssm)
Public fieldStatic memberVSSX
Visio Stencil File (.vssx)
Public fieldStatic memberVST
Visio Drawing Template (.vst)
Public fieldStatic memberVSTM
Visio Macro-Enabled Drawing Template (.vstm)
Public fieldStatic memberVSTX
Visio Drawing Template (.vstx)
Public fieldStatic memberVSX
Visio Stencil XML File (.vsx)
Public fieldStatic memberVTX
Visio Template XML File (.vtx)
Public fieldStatic memberWEBP
WebP Image (.webp)
Public fieldStatic memberWMF
Windows Metafile (.wmf)
Public fieldStatic memberXLAM
Microsoft Excel Add-in (.xlam)
Public fieldStatic memberXLS
Excel Spreadsheet (.xls)
Public fieldStatic memberXLSB
Excel Binary Spreadsheet (.xlsb)
Public fieldStatic memberXLSM
Excel Open XML Macro-Enabled Spreadsheet (.xlsm)
Public fieldStatic memberXLSX
Microsoft Excel Open XML Spreadsheet (.xlsx)
Public fieldStatic memberXLTM
Microsoft Excel Macro-Enabled Template (.xltm)
Public fieldStatic memberXLTX
Microsoft Excel Template (.xltx)
Public fieldStatic memberXML
XML File (.xml)
Public fieldStatic memberXPS
XML Paper Specification File (.xps)
Public fieldStatic memberYAML
YAML Document (.yaml)
Public fieldStatic memberZIP
Zipped File (.zip)
See Also