Copy a Selected Area of Text
To select and copy text
-
Open the document from which you want to copy the text. See Open for more information.
-
Hghlight a region of text to copy.
-
Use the CanCopy property to determine whether the selected text can be copied.
-
Use the GetSelectedText method to get the selected text.
-
Use the Copy method.
-
Paste the text in another document, such as a text file.