DataFormats
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides static, predefined Clipboard, format names. Use them to identify the format of data that you store in an IDataObject.
- C#
- VB.NET
public class DataFormats
Public Class DataFormats
Fields
| Name | Type | Description |
|---|---|---|
| Bitmap | String | Specifies the bitmap format. This static field is read-only. |
| CommaSeparatedValue | String | Specifies a comma-separated value (CSV) format, which is a common interchange format used by spreadsheets. This static field is read-only. |
| Dib | String | Specifies the device-independent bitmap (DIB) format. This static field is read-only. |
| Dif | String | Specifies the Windows Data Interchange Format (DIF). This static field is read-only. |
| DownloadURL | String | Specifies the html5 file drag format. This static field is read-only. |
| EnhancedMetafile | String | Specifies the enhanced metafile format. This static field is read-only. |
| FileDrop | String | Specifies the Windows file drop format. This static field is read-only. |
| Files | String | Specifies the html5 file drop format. This static field is read-only. |
| Html | String | Specifies text in the HTML Clipboard format. This static field is read-only. |
| Locale | String | Specifies the culture format. This static field is read-only. |
| MetafilePict | String | Specifies the Windows metafile format. This static field is read-only. |
| OemText | String | Specifies the standard original equipment manufacturer (OEM) text format. This static field is read-only. |
| Palette | String | Specifies the Windows palette format. This static field is read-only. |
| PenData | String | Specifies the pen data format, which consists of pen strokes for handwriting software. This static field is read-only. |
| Riff | String | Specifies the Resource Interchange File Format (RIFF) audio format. This static field is read-only. |
| Rtf | String | Specifies text consisting of Rich Text Format (RTF) data. This static field is read-only. |
| StringFormat | String | Specifies the format used to store string objects. This static field is read-only. |
| SymbolicLink | String | Specifies the symbolic link format. This static field is read-only. |
| Text | String | Specifies the standard ANSI text format. This static field is read-only. |
| Tiff | String | Specifies the Tagged Image File Format (TIFF). This static field is read-only. |
| UnicodeText | String | Specifies the standard Unicode text format. This static field is read-only. |
| WaveAudio | String | Specifies the wave audio format. This static field is read-only. |
Methods
GetFormat(name)
Returns a Format for the specified format.
| Parameter | Type | Description |
|---|---|---|
| name | String | The format name. |
Returns: Format. A Format that has the numeric ID and the name of the format.
GetFormat(id)
Returns a Format for the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | Int32 | The format ID. |
Returns: Format. A Format that has the requested numeric ID and the name of the format.