DEV Community

Le Vuong
Le Vuong

Posted on

Windows buffer format

Windows supports many buffer formats that is not widely known. Additionally, you have the option to register a custom buffer format.

CF_HTML
CF_BITMAP
CF_DIB
CF_DIBV5
CF_ENHMETAFILE
CF_METAFILEPICT
CF_OEMTEXT
CF_TEXT
CF_UNICODETEXT

By utilizing tools such as Free Clipboard Viewer, you can directly access these buffer values. This proves particularly useful when you need to obtain the HTML format of text, such as when copying text from Google Docs or Microsoft Word.

References:
Clipboard Overviews
HTML Clipboard Format

Top comments (0)