File Content Extraction 25.4
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 Open a Document.

Copyright 1997-2025 Open Text
Version 25.4 | Last updated October 2025

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 25.4

Topic Title: open