Text Documents
As we mentioned, documents can have textual or nontextual content. For those documents with textual content, a separate object—TextDocument—exists. The TextDocument object provides access to control functions specifically related to text content.
If you have a valid Document object to start with, and if that Document object refers to a text document, then a TextDocument instance can be referenced from the Document.Object property like this:
Table 13.12 contains the TextDocument members.
Tip
A text ...
Get Microsoft® Visual Studio® 2010 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.