> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AddNew Method of the Categories Object

> AddNew method of the Categories object in the ABBYY FineReader Engine API — creates a new category with the specified label and adds it to the collection.

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

## Syntax

### C++

```cpp theme={null}
HRESULT AddNew(
  BSTR        Label,
  ICategory** Result
);
```

### C\#

```csharp theme={null}
ICategory AddNew( string Label );
```

### Visual Basic .NET

```vb theme={null}
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](/fine-reader/engine/api-reference/classification-related-objects/category) object.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[Categories](/fine-reader/engine/api-reference/classification-related-objects/categories)
