KeyView 24.1

# fpGetDocInfo()

Gets the format information for a document, including the file format and file class.

## Syntax

    KVErrorCode (pascal* fpGetDocInfo)(
        KVDocument pDocument,
        ADDOCINFO* pDocInfo);

## Arguments

`pDocument` | A `KVDocument` that you created with fpOpenDocumentFromFile() or fpOpenDocumentFromStream().
`pDocInfo` | A pointer to an ADDOCINFO structure that you want to populate with format information.

## Returns

The return value is an error code.

- If the call is successful, the return value is `KVError_Success` and the document information is set in `pDocInfo`.
- If the call is unsuccessful, the return value is an error code that indicates the problem.

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: fpGetDocInfo()