We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Copy&Paste from other multiple documents

Hi
I need copy & paste some text & images from other documents. Is it possible to open multiple documents at the same time?
Also is it possible to insert text at specific location say after character 55 in the document?
Thanks
Hemant

1 Reply

SK Sarath Kumar G Syncfusion Team July 26, 2007 01:02 AM UTC


Hi Hemant,

Thank you for using Syncfusion products.

It is possible to open multiple document's. This is done using "WordDocument" interface. Using object of "WordDocument" the document is opened and saved. This is done by using following code snippet.


[C#]

WordDocument document = new WordDocument(@"..\..\Sample_Doc.doc");
document.Save("Sample.doc");
document.Open(@"..\..\Sample_Doc1.doc");
document.Save("Sample1.doc");



Here is the sample program for your reference.

http://websamples.syncfusion.com/samples/DocIO.Windows/F-65140/main.htm

Regarding inserting text at specific location, this is done by using bookmarks. You can browse to the bookmark sample from the following location.

C:\Documents and Settings\{UserName}\My Documents\Syncfusion\EssentialStudio\5.1.0.51\Web\docio.web\Samples\2.0\Interactive Feature\

Please let me know for further help.

Regards,
Sarath

Loader.
Live Chat Icon For mobile
Up arrow icon