Options.DefaultOpenFormat Property

Returns or sets the default file converter used to open documents. Can be a number returned by the OpenFormat property, or one of the WdOpenFormat constants.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property DefaultOpenFormat As WdOpenFormat
    Get
    Set
'Usage
Dim instance As Options
Dim value As WdOpenFormat

value = instance.DefaultOpenFormat

instance.DefaultOpenFormat = value
WdOpenFormat DefaultOpenFormat { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdOpenFormat

Remarks

Use the Format argument with the Open method to specify a file converter when you're opening a single document.

See Also

Reference

Options Interface

Options Members

Microsoft.Office.Interop.Word Namespace