Identify the Version Number of the Application that created the word file

Hi,

Is there any option to identify the version number of the word application that created the word file? Like whether the word file is created using Word 95 or 97 or 2000 or 2003, etc.

Thanks

@Sri79,

In Aspose.Words, you can use BuiltInDocumentProperties.Version property for this purpose but this will not be able to reliably detect pre-2003 versions in all cases. As a workaround, please use the following code:

if (doc.BuiltInDocumentProperties.Version < 11)
{
// 11 is for MS Word 2003, so everything below is pre2003
}

When a document was created by Microsoft Word, then high 16 bits of this property represent the major version and low 16 bit represent the build number.