TextualFormats
TextualFormats class
Encapsulates all textual (text-based) formats, including markup (XML, HTML) and others. Includes the following formats: Html
, Txt
, Xml
, Md
, Json
, Mhtml
, Chm
.
public class TextualFormats : DocumentFormatBase
Properties
Name |
Description |
Extension { get; } |
Gets the file extension of the document format. |
FormatFamily { get; } |
Gets the format family to which the document format belongs. |
Id { get; } |
Gets the unique identifier for the format family. |
Mime { get; } |
Gets the MIME type of the document format. |
Name { get; } |
Gets the name of the format family. |
static All { get; } |
Gets an enumerable collection of all TextualFormats . |
Methods
Fields
Name |
Description |
static readonly Chm |
Microsoft Compiled HTML Help is a Microsoft proprietary online help binary format, consisting of a collection of HTML pages, an index and other navigation tools. Learn more about this file format here. |
static readonly Html |
HyperText Markup Language document (HTML) is the extension for web pages created for display in browsers. Learn more about this file format here. |
static readonly Json |
JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. Learn more about this file format here. |
static readonly Md |
Markdown is a lightweight markup language for creating formatted text using a plain-text editor. Learn more about this file format here. |
static readonly Mhtml |
MIME encapsulation of aggregate HTML documents is a web page archive format used to combine, in a single computer file, the HTML code and its companion resources. Learn more about this file format here. |
static readonly Txt |
Plain Text Document (TXT) represents a text document that contains plain text in the form of lines. Learn more about this file format here. |
static readonly Xml |
eXtensible Markup Language document (XML) that is similar to HTML but different in using tags for defining objects. Learn more about this file format here. |
See Also