> ## 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.

# CreateExportParams Method of the Engine Object

This method creates the [**ExportParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/exportparams.md) object for the specified destination type.

## Syntax

```vb Visual Basic .NET theme={null}
Function CreateExportParams(Type As ExportDestinationTypeEnum) As ExportParams
```

```cpp C++ theme={null}
HRESULT CreateExportParams(
  ExportDestinationTypeEnum Type,
  IExportParams**           Result
);
```

## Parameters

**Type**

\[in] This variable of the [**ExportDestinationTypeEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/exportdestinationtypeenum.md) type specifies the destination of output files. Currently only the EDT\_File constant can be used.

**Result**

\[out, retval] A pointer to the **IExportParams\*** pointer variable that receives the interface pointer of the [**ExportParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/exportparams.md) object. Must not be NULL.

## 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).

## Samples

This method is used in the following code samples: [Hello](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md#hello).

## See also

[**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md)

[**ExportParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/exportparams.md)
