DefaultWebOptions.TargetBrowser Property

Sets or returns an MsoTargetBrowser constant representing the target browser for documents viewed in a Web browser.

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

Syntax

'Declaration
Property TargetBrowser As MsoTargetBrowser
    Get
    Set
'Usage
Dim instance As DefaultWebOptions
Dim value As MsoTargetBrowser

value = instance.TargetBrowser

instance.TargetBrowser = value
MsoTargetBrowser TargetBrowser { get; set; }

Property Value

Type: MsoTargetBrowser

Remarks

The TargetBrowser property sets the BrowserLevel property, but BrowserLevel is only important if the DisableFeatures property is set to True. Otherwise, it is ignored. The TargetBrowser property, however, is not ignored and sets the browser level for all Web documents or for a single Web document.

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.Word Namespace