Copy and paste is probably one of the most common techniques to create letters, emails or other documents. Users are pasting pre-defined boilerplates, text passages from emails or content from several websites.
The Windows clipboard is able to store the content in several formats. If you copy a text from MS Word into the clipboard, it contains the formatted text as Rich Text Format (RTF), as plain text and Unicode text. Sometimes, it is required to paste the content with it's original formatting or just using plain text to apply your own formatting more easily.
This sample shows how to build a 'paste special' dialog that allows the user to choose the format that should be used to insert the clipboard text into TX Text Control.
Read more about this sample in our source code library: