Skip to main content
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