What is the preferred Excel format for receiving data from the clipboard? The data is in the C # /. NET application.
I saved it to the clipboard in CSV format, but now I want to start providing information about Excel formatting (for example, make some cells in bold). The CSV format is no longer enough.
When I copy from Excel, the clipboard contains 24 formats!
System.Windows.Clipboard.GetDataObject().GetFormats().Dump();
- EnhancedMetafile
- System.Drawing.Imaging.Metafile
- Metafilepict
- Bitmap image
- System.Drawing.Bitmap
- System.Windows.Media.Imaging.BitmapSource
- Biff12
- Biff8
- Biff5
- SymbolicLink
- DataInterchangeFormat
- XML table
- HTML format
- Text
- UnicodeText
- System.string
- Csv
- Rich Text Format
- Embed the source code
- Object handle
- Link source
- Link Source Descriptor
- Link
- Format129 *
Colonel panic
source share