Share via


TextRetrievalMode.ViewType Property

Returns or sets the view for the TextRetrievalMode object.

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

Syntax

'Declaration
Default Property ViewType As WdViewType
    Get
    Set
'Usage
Dim instance As TextRetrievalMode
Dim value As WdViewType

value = instance

instance = value
WdViewType this { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdViewType

Remarks

WdViewType can be one of these WdViewType constants.

wdMasterView

wdNormalView

wdOutlineView

wdPrintPreview

wdPrintView

wdWebView

Changing the view for the TextRetrievalMode object doesn't change the display of a document on the screen. Instead, it determines which characters in the document will be included when a range is retrieved.

See Also

Reference

TextRetrievalMode Interface

TextRetrievalMode Members

Microsoft.Office.Interop.Word Namespace