AddNew Method of the Categories Object

This method creates a new category with the specified label and adds into the collection.

Syntax

C++

HRESULT AddNew(
  BSTR        Label,
  ICategory** Result
);
    

C#

ICategory AddNew( string Label );
    

Visual Basic .NET

Function AddNew(Label As String) As ICategory
    

Parameters

Label
[in] The label for the newly-added category. It should be unique in the categories collection.
Result
[out, retval] A variable of type ICategory* that receives a pointer to the interface of the newly added Category object.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

Categories

17.09.2024 15:14:40

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.