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

# LoadFlexibleDescription Method of the SectionDefinition Object

This method allows you to load a flexible description from the file in ABBYY FlexiLayout Studio format (\*.afl). ABBYY Flexible Layout files are created with ABBYY FlexiLayout Studio.

> [!NOTE]
>
> To ensure that the fields of the loaded Document Definition are displayed correctly, we recommend that you call the [**Rearrange**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinition-rearrange.md) method after loading flexible descriptions.

## Syntax

```vb Visual Basic .NET theme={null}
Function LoadFlexibleDescription(Path As String) As FlexibleDescription
```

```cpp C++ theme={null}
HRESULT LoadFlexibleDescription(
  BSTR                   Path,
  IFlexibleDescription** Result
);
```

## Parameters

**Path**

\[in] This variable contains the path to the file containing flexible description (\*.afl).

**Result**

\[out, retval] A pointer to the [**IFlexibleDescription**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/flexibledescription.md)**\*** variable that receives the interface pointer for the flexible description.

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

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

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