KeyView 24.1

# detect

Find the autodetected format of a file.

DEPRECATED: The `Session::detect` method is deprecated in KeyView 23.3.0 and later. OpenText recommends that you create a Document object to represent each document and use the `Document::info` method instead.

This method is still available for existing implementations, but it might be incompatible with new functionality and might be removed in future.

## Syntax

    template<typename Input_Type >
    DetectionInfo Session::detect(Input_Type &input)

Copyright 2016-2023 Open Text
Version 24.1 | Last updated December 2023

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: IDOL KeyView 24.1

Topic Title: detect