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

Force open a document already open

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)?

3 Replies

SR Suganya Rathinam Syncfusion Team 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);


MR Michael Rensing March 17, 2016 01:05 PM UTC

Thank you.  That works great!

SV Sarathkumar V Syncfusion Team 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.


Live Chat Icon For mobile
Up arrow icon