File Content Extraction 26.1
Viewing SDK Programming Guide

# Convert a Document

To convert a document to text, RTF, or HTML

1. Open the document. See Open for more information.

   Set the OPENWaitOnOpenproperty to `TRUE` to prevent the `Open` method from returning before the document is completely processed.

   To convert a document without viewing it, set the OPENModeproperty to `2` (open without generating a view).

2. Use the CanSaveAs property to determine whether the document is completely processed and can be saved.

3. Call the Convert method.

   NOTE: Viewing SDK does not convert PDF, presentations, container files, or graphics files to text, RTF, or HTML.

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: Convert a Document