TextRetrievalMode.IncludeHiddenText Property
Word Developer Reference |
True if the text retrieved from the specified range includes hidden text. Read/write Boolean.
Syntax
expression.IncludeHiddenText
expression An expression that returns a TextRetrievalMode object.
Remarks
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.
Example
This example displays the text of the first sentence in the active document in a message box. The example uses the IncludeHiddenText property to include hidden text.
Visual Basic for Applications |
---|
|
This example posts a message if the entire selection is formatted as hidden text.
Visual Basic for Applications |
---|
|
See Also