Description

Version of installed MS Office®.

Namespace:  DuoDimension.Sunflower
Assembly:  Sunflower.Excel (in Sunflower.Excel.dll)
Version: 1.0.0.0

Syntax

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

Field Value

9 - MS Office® version 2000.

10 - MS Office® version XP 2002.

11 - MS Office® version 2003.

12 - MS Office® version 2007.

Examples

CopyC#
DuoDimension.Sunflowe.Excel convert = new DuoDimension.Sunflowe.Excel("*******");
if (convert.Version == 12)
{
    convert.XlsxToCsv(xlsxfile, csvfile);
    ...
}
CopyVB.NET
Dim convert As New DuoDimension.Sunflower.Excel("*******")
If convert.Version = True Then
    convert.XlsxToCsv(xlsxfile, csvfile)
    ...
End If

See Also