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

Docx opening as Word97

Thread ID:





120906 Oct 26,2015 09:08 PM UTC Oct 27,2015 06:59 AM UTC ASP.NET Web Forms 1
Tags: DocIO
John Demeny
Asked On October 26, 2015 09:08 PM UTC

I have a docx document in Sharepoint. It gets loaded into a byte array.
I then call

Dim docTypeFormat As Syncfusion.DocIO.FormatType = FormatType.Docx

Dim document As IWordDocument = New WordDocument(inStream, docTypeFormat)

If I then look at the value in document.properties.version, it returns "Word97"


Suganya Rathinam [Syncfusion]
Replied On October 27, 2015 06:59 AM UTC

Hi John,

Thank you for using Syncfusion Product.

Based on the given details, we suspect that you are trying to get the format type of the input document which is opened in DocIO. To get the format type of the document in DocIO use the
ActualFormatType property of the WordDocument class. Please find the following code snippet for your reference.

Code Snippet:
Dim formatType As Syncfusion.DocIO.FormatType = document.ActualFormatType

Please let us know if you have any questions.



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

This page will automatically be redirected to the 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