0

C# windows form

Hi! I am trying to make a program with windows form and I would like to paste the text in my rtf box in word when I click a button on the form. I managed to copy the text but the format doesnt get parsed!! Is this possible or am I loosing my mind on something unachievable? I need both text and format to be copied and pasted.

19th Jul 2024, 7:54 AM
Stefania Fiorucci
Stefania Fiorucci - avatar
2 Réponses
+ 3
I found this for you. https://stackoverflow.com/questions/50833940/how-to-pass-text-formatted-from-a-windows-form-to-the-word-application It seems to be doable if you pass the data through the windows clipboard.
19th Jul 2024, 8:38 AM
Tibor Santa
Tibor Santa - avatar
+ 2
I believe it's possible but probably very difficult. Outlook has just updated to include a feature like this and if you consider the resources they have behind the scenes that's not something easy, I don't think (unless they simply had it as a low priority). Maybe search github and similar coding repositories for some idea.
19th Jul 2024, 8:11 AM
Ausgrindtube
Ausgrindtube - avatar