FindById Method of the Documents Object

This method allows you to find a document by its identifier. The method returns closed document (IDocument::LockType = LT_None).

Syntax

Visual Basic .NET

Function FindById(Id As Integer) As Document
    

C++

HRESULT FindById(
  int         Id,
  IDocument** Result
);
    

Parameters

Id
[in] This variable contains the identifier of the document to be found.
Result
[out, retval] A pointer to the IDocument* variable that receives the interface pointer for the document. Returns NULL, if the document with the specified identifier is not found.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

Samples

This object is used in the following code samples: Classification.

See also

Documents

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.