Click here to Skip to main content
16,020,249 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to maintain the format of text while copying from word file to C# winform clipboard

What I have tried:

checked with clipboard.gettext()/clipboard.settext() methods
Posted
Updated 29-Jul-16 0:45am

1 solution

You need to capture all the information from the Word document that is associated with the text, and save that also. See 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