> ## 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 ExportProfiles Object

This method adds an export profile at the end of the collection.

## Syntax

```vb Visual Basic .NET theme={null}
Function AddNew(
  ExportParams As ExportParams _
) As ExportProfile
```

```cpp C++ theme={null}
HRESULT AddNew(
  IExportParams    ExportParams,
  IExportProfile** Result
);
```

## Parameters

**ExportParams**

\[in] This parameter refers to the [**ExportParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/exportparams.md) object that contains parameters of export. Must not be NULL.

**Result**

\[out, retval] A pointer to the [**IExportProfile**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/exportprofile.md)**\*** variable that receives the interface pointer for the added export profile.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

[**ExportProfiles**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/exportprofiles-addnew.md)
