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

Docx opening as Word97

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"


1 Reply

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


Live Chat Icon For mobile
Up arrow icon