Description

Version of installed MS Office(R).

Namespace:  DuoDimension.Databeam
Assembly:  Databeam.Word (in Databeam.Word.dll)
Version: 2.1.0.0

Syntax

      
 C#  Visual Basic 
public string Version { get; }
Public ReadOnly Property Version As String

Field Value

9 - MS Office(R) version 2000.

10 - MS Office(R) version XP 2002.

11 - MS Office(R) version 2003.

12 - MS Office(R) version 2007.

Examples

CopyC#
DuoDimension.Databeam.Word convert = new DuoDimension.Databeam.Word("*******");
if (convert.Version == 12)
{
    convert.OpenDocx(docxfile);
    convert.DocxToTxt(txtfile);
    ...
}
CopyVB.NET
Dim convert As New DuoDimension.Databeam.Word("*******")
If convert.Version = 12 Then
    convert.OpenDocx(docxfile)
    convert.DocxToTxt(txtfile)
    ...
End If

See Also