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.
Unfortunately, activation email could not send to your email. Please try again.

Force open a document already open

Thread ID:





123430 Mar 16,2016 11:59 AM Mar 18,2016 12:37 AM Windows Forms 3
Tags: DocIO
Michael Rensing
Asked On March 16, 2016 11:59 AM

Is there a way to force open a document in read only mode with Docio, similar to the the XlsIO method Excel.Workbooks.OpenReadOnly(path)?

Suganya Rathinam [Syncfusion]
Replied On March 17, 2016 12:57 AM

Hi Michael,

Thank you for contacting Syncfusion support.

DocIO provides support to open the Word document in read only mode. You can use OpenReadOnly API of WordDocument class to open the document in read only mode. Please find the following code snippet for your reference.
Code Snippet:

WordDocument document = new WordDocument();

document.OpenReadOnly(Filename, FormatType.Docx);


Michael Rensing
Replied On March 17, 2016 09:05 AM

Thank you.  That works great!

Sarathkumar V [Syncfusion]
Replied On March 18, 2016 12:37 AM

Hi Michael,

Thanks for your update.

We are happy to hear that the provided solution satisfied your requirement. Please let us know if you need any further assistance and we will be happy to assist you as always.



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.

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.