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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Copy&Paste from other multiple documents

Thread ID:

Created:

Updated:

Platform:

Replies:

65140 Jul 25,2007 10:22 AM UTC Jul 26,2007 01:02 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
hemant
Asked On July 25, 2007 10:22 AM UTC

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

Sarath Kumar G [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;