O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

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 previously mentioned, documents can have textual or nontextual content. For those documents with textual content, a separate object exists: TextDocument. 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:

TextDocument doc;Document myDocument;doc = myDocument.Object;

Table 14.12 contains the TextDocument members.

Image

TABLE 14.12 TextDocument Members

Tip

A text document is represented by ...

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