Skip to main content
Version: 3.5

TextDataFormat

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Specifies the formats used with text-related methods of the Clipboard and DataObject classes.

public enum TextDataFormat : Enum

Fields

NameDescription
CommaSeparatedValueSpecifies a comma-separated value (CSV) format, which is a common interchange format used by spreadsheets.
HtmlSpecifies text consisting of HTML data.
RtfSpecifies text consisting of rich text format (RTF) data.
TextSpecifies the standard ANSI text format.
UnicodeTextSpecifies the standard Unicode text format.

Used By

NameDescription
DataObject.GetTextRetrieves text data from the data object in the format indicated by the specified TextDataFormat value.
DataObject.ContainsTextIndicates whether the data object contains text data in the format indicated by the specified TextDataFormat value.
DataObject.SetTextAdds text data to the data object in the format indicated by the specified TextDataFormat value.
Clipboard.ContainsTextIndicates whether there is text data on the Clipboard in the format indicated by the specified TextDataFormat value.
Clipboard.GetTextRetrieves text data from the Clipboard in the format indicated by the specified TextDataFormat value.
Clipboard.SetTextSaves the text data in the format indicated by the specified TextDataFormat value to the clipboard.