File Content Extraction 26.3
Filter SDK C++ Programming Guide

# open

Opens a document and returns a 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 Opening a Document.

Copyright 1997-2026 Open Text
Version 26.3 | Last updated July 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.3

Topic Title: open