Options.DefaultOpenFormat Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.