File Content Extraction 26.1
Viewing SDK Programming Guide

# Copy all the Text in a Document

To copy all the text in a document

1. Open the document from which you want to copy all the text. See Open for more information.
2. Use the CanSelectAll method to determine whether all contents in the document can be selected.
3. Use the SelectAll method.
4. Use the CanCopy property to determine whether the text can be copied.
5. Use the Copy method.
6. Paste the text in another document, such as a text file.

Copyright 2016-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.1

Topic Title: Copy all the Text in a Document