This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/enums/document-type.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. DocumentType

The type of the document currently used.

using Nutrient;

Values

NameValueDescription
DocumentType.Unknown0Unknown or undefined document type.
DocumentType.Bitmap1Raster image.
DocumentType.MetaFile2Metafile image.
DocumentType.PDF3PDF.
DocumentType.SVG4SVG.
DocumentType.TXT5Text-based document.
DocumentType.OpenXMLWord6Open XML Wordprocessing.
DocumentType.RTF7RTF format.
DocumentType.DXF8DXF format.
DocumentType.OpenDocumentText9OpenDocument Text format.
DocumentType.OpenXMLSpreadsheet10Open XML Spreadsheet.
DocumentType.OpenXMLPresentation11Open XML Presentation.
DocumentType.WordBinary12Word (.doc) Binary File Format.
DocumentType.ExcelBinary13Excel (.xls) Binary File Format.
DocumentType.PowerPointBinary14PowerPoint (.ppt) Binary File Format.
DocumentType.HTML15HTML Format.
DocumentType.MSG16Outlook Message Item File format.
DocumentType.EML17E-Mail Message format.
DocumentType.PostScript18PostScript format.
DocumentType.DWG19Binary CAD format
DocumentType.MHTML20
DocumentType.MD21Markdown text file format.
DocumentType.PowerPointFlat22Represents a Flat OPC XML PowerPoint presentation document type.
DocumentType.WordFlat23Represents a Flat OPC XML Word document type.