# GetElementProperty

Returns a property of the specified element.

This function is useful for example to reuse the same set of expressions with different elements, where the expressions depend on the name of the element.

## Related examples

* [Setting a byte offset in a flat structure](https://help.qlik.com/talend/en-US/data-mapper-functions-reference-guide/8.0/setting-byte-offset-in-flat-structure)

## Arguments

| Arguments | Definitions |
| --- | --- |
| Element | Specify the map element whose property you want to<br>return. |

## Properties

| Properties | Definitions |
| --- | --- |
| Property | Select the property to return.<br><br><ul> <li> <kbd>Element name</kbd>: the                                        name of the element. </li> <li> <kbd>Level number</kbd>: the                                        depth of the element. The root element has the value                                            <kbd>1</kbd>. </li> <li> <kbd>Byte offset</kbd>: the byte                                        offset of the element from its enclosing element (usable in                                        flat representations only). </li> </ul> |