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.

Docx opening as Word97

Thread ID:

Created:

Updated:

Platform:

Replies:

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

 
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 02:59 AM

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.

Regards,
Suganya


CONFIRMATION

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.

;