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

# Named parameter functions

> Pass named parameters between FlexiLayouts: SetOutputParameter, NamedParameterExists, and GetNamedParameter functions in ABBYY FlexiLayout Studio.

ABBYY FlexiLayout Studio allows you to specify output parameters for a FlexiLayout. When you apply this FlexiLayout, its output parameters are passed to the FlexiLayout that is applied next.

<Note>
  Named parameters can also be passed from a main FlexiLayout to an additional FlexiLayout.
</Note>

You can specify the output parameters in the **Expression** field in the properties dialog box of a block.

The following sections describe the functions you can use to work with named parameters.

## Functions that set an output parameter

The following functions set an output named parameter.

* `SetOutputParameterInt`
* `SetOutputParameterIntArray`
* `SetOutputParameterString`
* `SetOutputParameterStringArray`
* `SetOutputParameterRect`
* `SetOutputParameterRectArray`

<Note>
  You can also set an output named parameter in the FlexiLayout properties dialog box.
</Note>

## Functions that check whether a named parameter exists

The following functions check whether an output named parameter exists.

* `NamedParameterIntExists`
* `NamedParameterIntArrayExists`
* `NamedParameterStringExists`
* `NamedParameterStringArrayExists`
* `NamedParameterRectExists`
* `NamedParameterRectArrayExists`

## Functions that get a named parameter

The following functions get a named parameter.

* `GetNamedParameterInt`
* `GetNamedParameterIntArray`
* `GetNamedParameterString`
* `GetNamedParameterStringArray`
* `GetNamedParameterRect`
* `GetNamedParameterRectArray`

Example:

```text theme={null}
Rect outputRect;

if
GetNamedParameterRectArray( "RectArray" ).Count() > 1
then
outputRect = Rect( 394*dot, 816*dot, 2103*dot, 2247*dot ); //[, , , ]
else
outputRect = Rect( 591*dot, 1078*dot, 2453*dot, 1219*dot ); //[, , , ]
OutputRegion = outputRect;
```
