LoadFromFile Method of the DocumentDefinitions Object
This method allows you to load a Document Definition from a .fcdot file created in ABBYY FlexiCapture 12.
Note: Please make sure all the resources for the Document Definition (for example, the Attachments folder) are located in the same folder as the .fcdot file.
If an invoice Document Definition was created in version of ABBYY FlexiCapture earlier than in Developer's Package, its settings may be incompatible with current version of ABBYY FlexiCapture SDK. Such a Document Definition will not be loaded by calling the method, and an error will occur. In this case, you need to import the Document Definition to a project in FlexiCapture Developer's Package and update it or correct the settings.
Visual Basic .NET
Function LoadFromFile(Path As String) As DocumentDefinition
C++
HRESULT LoadFromFile( BSTR Path, IDocumentDefinition** Result );
Parameters
- Path
- [in] The full path to the .fcdot file where the Document Definition is stored.
- Result
- [out, retval] A pointer to the IDocumentDefinition* variable that receives the interface pointer for the loaded Document Definition.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
See also
8/15/2023 1:19:30 PM