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

# LoadFromXml Method of the ImageEnhancementProfiles object

This method loads image enhancement profiles from specified file in XML format and adds these profiles to the collection. If the profile is already in the collection it will be replaced, otherwise added. The method returns a list of identifiers of added or edited image enhancement profiles.

## Syntax

```cpp C++ theme={null}
HRESULT LoadFromXml(
     BSTR FileName,
    IIntsCollection** Indices
);
```

```vb Visual Basic .NET theme={null}
Function LoadFromXml( FileName As String ) As IIntsCollection
```

## Parameters

**FileName**

This parameter contains the full path to the file in XML format with saved in ABBYY FlexiCapture image enhancement profiles.

**Indices**

\[out, retval] A pointer to the [**IIntsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/intscollection.md)\* variable that receives the interface pointer for the list of identifiers of added or edited image enhancement profiles.

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

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

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