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

Force open a document already open

Thread ID:





123430 Mar 16,2016 03:59 PM UTC Mar 18,2016 04:37 AM UTC WinForms 3
Tags: DocIO
Michael Rensing
Asked On March 16, 2016 03:59 PM UTC

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 04:57 AM UTC

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 01:05 PM UTC

Thank you.  That works great!

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

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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