Click here to Skip to main content
15,748,082 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to copy text and text font from my application to ms word application using Ctrl+C and Ctrl+V.
When i press Cntl+C i have done my coding Clipboard.SetText(textbox1.text) in my wpf application.
when i'm press Ctrl+V in ms word it only pasting text not text font.
If any one know about the answer kindly please help me to resolve the problem.
Updated 6-Jan-16 20:20pm

1 solution

You can often find the answer just by reading the documentation for the class you are using: Clipboard.SetText Method (String, TextDataFormat) (System.Windows.Forms)[^].
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900