The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
BPBhuvaneswari P Syncfusion Team December 3, 2008 09:22 AM UTC
Hi Johannes,
Thank you for your interest in Syncfusion product.
Currently we don't have support to insert the RTF text into the word document using DocIO. We have planned to implement this feature in our next release.
We don't have any API's to insert the Copy clipboard to word document. But we can work around this by converting the Clipboard object to image and then insert the image into the table cell. Please find the below code snippet to do so: [C#]
WordDocument doc = new WordDocument(); doc.EnsureMinimal(); Bitmap image = null; if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Bitmap)) image = (Bitmap)Clipboard.GetDataObject().GetData(DataFormats.Bitmap); doc.LastParagraph.AppendPicture(image); doc.Save("sample.doc"); Process.Start("Sample.doc");
Please let me know if you need any further assistance.
Best Regards, Bhuvana
VMVan Meerbeeck JonathanJune 24, 2015 04:30 AM UTC
Hello,
I want to copy RTF text as well into a word document. Is this feature already available?
Thank you
Kind regards
Jonathan
SKSathish K Syncfusion Team June 25, 2015 09:40 AM UTC
Hi Jonathan,
Thank you for contacting Syncfusion support.
We have created a separate incident under your account for the better follow up on your query. Kindly follow that incident to get solution for your query. Please let us know if you need any further assistance. We will be happy to assist you as always.
Regards, Sathish
MAMarimuthuDecember 5, 2017 09:29 AM UTC
Do you support, appending RTF content to Word document ?
RHRamanan Hariharasubramanian Syncfusion Team December 6, 2017 12:36 PM UTC
Hi Marimuthu,
At present, DocIO does not have direct API to append the RTF content into an existing Word document.
You can use the below solution to append RTF content to an existing Word document.
1. Open the RTF content as new WordDocument instance.
2. Import this WordDocument instance, to the destination Word document using ImportContent() method.
We have prepared sample for the same. Please find the sample from below location.