open

Opens a document and returns a KeyView Document object that you can use to access information from the document - for example its format information, text, metadata, and subfiles.

A Document must be created and used on the same thread that created the parent session.

A Document object maintains a reference to the input object, so cannot be used after the input object has been destroyed.

Syntax

template <typename Input_Type>
Document open(Input_Type& input)

Example

See Open a Document.