Convert a Document

To convert a document to text, RTF, or HTML

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

    Set the OPENWaitOnOpen property to TRUE to prevent the Open method from returning before the document is completely processed.

    To convert a document without viewing it, set the OPENMode property 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: Note: Viewing SDK does not convert PDF, presentations, container files, or graphics files to text, RTF, or HTML.