Options.DefaultOpenFormat Property

Definition

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.

public:
 property Microsoft::Office::Interop::Word::WdOpenFormat DefaultOpenFormat { Microsoft::Office::Interop::Word::WdOpenFormat get(); void set(Microsoft::Office::Interop::Word::WdOpenFormat value); };
public Microsoft.Office.Interop.Word.WdOpenFormat DefaultOpenFormat { get; set; }
member this.DefaultOpenFormat : Microsoft.Office.Interop.Word.WdOpenFormat with get, set
Public Property DefaultOpenFormat As WdOpenFormat

Property Value

Remarks

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

Applies to