FileType Class
Represents a file type. Provides methods to obtain a list of all file types supported by GroupDocs.Redaction, detect file type by extension, etc.
Inheritance Hierarchy
SystemObject
  GroupDocs.RedactionFileType

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

The FileType type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberBMP
Bitmap Image File (.bmp)
Public propertyStatic memberCSV
Comma Separated Values File (.csv)
Public propertyStatic memberDOC
Microsoft Word Document (.doc)
Public propertyStatic memberDOCM
Word Open XML Macro-Enabled Document (.docm)
Public propertyStatic memberDOCX
Microsoft Word Open XML Document (.docx)
Public propertyStatic memberDOT
Word Document Template (.dot)
Public propertyStatic memberDOTM
Word Open XML Macro-Enabled Document Template (.dotm)
Public propertyStatic memberDOTX
Word Open XML Document Template (.dotx)
Public propertyExtension
Gets filename suffix (including the period ".") e.g. ".doc".
Public propertyFileFormat
Gets file type name e.g. "Microsoft Word Document".
Public propertyStatic memberGIF
Graphical Interchange Format File (.gif)
Public propertyStatic memberJP2
JPEG 2000 Core Image File (.jp2)
Public propertyStatic memberJPEG
JPEG Image (.jpeg)
Public propertyStatic memberJPG
JPEG Image (.jpg)
Public propertyStatic memberNUMBERS
Apple Numbers Spreadsheet (.numbers)
Public propertyStatic memberODP
OpenDocument Presentation (.odp)
Public propertyStatic memberODS
OpenDocument Spreadsheet (.ods)
Public propertyStatic memberODT
OpenDocument Text Document (.odt)
Public propertyStatic memberOTS
OpenDocument Spreadsheet Template (.ots)
Public propertyStatic memberOTT
OpenDocument Document Template (.ott)
Public propertyStatic memberPDF
Portable Document Format File (.pdf)
Public propertyStatic memberPNG
Portable Network Graphic (.png)
Public propertyStatic memberPPT
PowerPoint Presentation (.ppt)
Public propertyStatic memberPPTX
PowerPoint Open XML Presentation (.pptx)
Public propertyStatic memberRTF
Rich Text Format File (.rtf)
Public propertyStatic memberTIF
Tagged Image File (.tif)
Public propertyStatic memberTIFF
Tagged Image File Format (.tiff)
Public propertyStatic memberTSV
Tab Separated Values File (.tsv)
Public propertyStatic memberTXT
Plain Text File (.txt)
Public propertyStatic memberUnknown
Represents unknown file type.
Public propertyStatic memberXLS
Excel Spreadsheet (.xls)
Public propertyStatic memberXLSB
Excel Binary Spreadsheet (.xlsb)
Public propertyStatic memberXLSM
Excel Open XML Macro-Enabled Spreadsheet (.xlsm)
Public propertyStatic memberXLSX
Microsoft Excel Open XML Spreadsheet (.xlsx)
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.
Remarks
This class provides methods to obtain list of all file types supported by GroupDocs.Redaction.
Learn more
See Also