Convert a Document
To convert a document to text, RTF, or HTML
-
Open the document. See Open for more information.
Set the OPENWaitOnOpenproperty to
TRUE
to prevent theOpen
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). -
Use the CanSaveAs property to determine whether the document is completely processed and can be saved.
-
Call the Convert method.
NOTE: Viewing SDK does not convert PDF, presentations, container files, or graphics files to text, RTF, or HTML.