Description

Return true if Word is installed, else false.

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

Syntax

      
 C#  Visual Basic 
public bool IsWordInstalled { get; }
Public ReadOnly Property IsWordInstalled As Boolean

Examples

CopyC#
void functionA()
{
    DuoDimension.Databeam.Word convert = new DuoDimension.Databeam.Word("*******");
    if (convert.IsWordInstalled == true)
    {
        convert.OpenDoc(docfile);
        ...
    }
    else
    {
        Console.Write("Word is not installed.");
    }
}
CopyVB.NET
Sub functionA()
    Dim convert As New DuoDimension.Databeam.Word("*******")
    If convert.IsWordInstalled = True Then
        convert.OpenDoc(docfile)
        ...
    Else
        Console.Write("Error of Word initialization.")
    End If
End Sub

See Also