Share via


TextRetrievalMode.IncludeHiddenText Property 

True if the text retrieved from the specified range includes hidden text.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim textRetrievalMode1 As TextRetrievalMode

Dim returnValue As Boolean
returnValue = textRetrievalMode1.IncludeHiddenText

Dim sampleValue As Boolean
textRetrievalMode1.IncludeHiddenText = sampleValue

Syntax

Property IncludeHiddenText() As Boolean
bool IncludeHiddenText {get; set;}
property Boolean IncludeHiddenText{
    Boolean get();
    Void set(Boolean);
}
public boolean get_IncludeHiddenText();
public void set_IncludeHiddenText(boolean);
function get IncludeHiddenText() : Boolean;
function set IncludeHiddenText(Boolean);

Remarks

Note The default value is the same as the current setting of the Hidden text option on the View tab in the Options dialog box (Tools menu) until this property has been set. Use the Text property with a Range object to retrieve text from the specified range.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

TextRetrievalMode Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

TextRetrievalMode Members