O'Reilly logo

Microsoft® Visual Studio® 2010 Unleashed by Lars Powers, Mike Snell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

image

Table 13.12 contains the TextDocument members.

Table 13.12 TextDocument Members

image

Tip

A text ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required