AddNew Method of the DocumentDefinitions Object

This method creates a new Document Definition for semi-structured documents and adds it at the end of the collection. A default section definition is also created.

Syntax

Visual Basic .NET

Function AddNew(
  Name As String _
) As DocumentDefinition
    

C++

HRESULT AddNew(
  BSTR                  Name,
  IDocumentDefinition** Result
);
    

Parameters

Name
[in] This variable specifies the name of the Document Definition. This parameter may be 0 or an empty string. In this case the name is generated automatically.
Result
[out, retval] A pointer to the IDocumentDefinition* variable that receives the interface pointer for the added Document Definition.

Return values

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

See also

DocumentDefinitions

8/15/2023 1:19:30 PM

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.