Copy all the Text in a Document
To copy all the text in a document
- Open the document from which you want to copy all the text. See Open for more information.
- Use the CanSelectAll method to determine whether all contents in the document can be selected.
- Use the SelectAll method.
- Use the CanCopy property to determine whether the text can be copied.
- Use the Copy method.
- Paste the text in another document, such as a text file.