# SetElementProperty

Sets the byte offset, the size of an element, and if the element loops, the number of iterations.

This function can only be used in the Util tab.

This function can only be used in Flat representations.

## 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)
* [Setting a dynamic element size in a flat structure](https://help.qlik.com/talend/en-US/data-mapper-functions-reference-guide/8.0/setting-dynamic-element-size-in-flat-structure)
* [Setting a number of loop iterations in a flat structure](https://help.qlik.com/talend/en-US/data-mapper-functions-reference-guide/8.0/setting-number-of-loop-iterations-in-flat-structure)

## Arguments

| Arguments | Definitions |
| --- | --- |
| Element | Specify the element whose property you want to set. |
| Value | Specify the value of the property to set. |

## Properties

| Properties | Definitions |
| --- | --- |
| Property | Select the property to set.<br><br><ul> <li> <kbd>Byte                                            offset</kbd>: the byte offset of the element from                                        its enclosing element.</li> <li> <kbd>Number of                                            bytes</kbd>: the size of the element in                                        bytes.</li> <li> <kbd>Loop                                            count</kbd>: the number of iterations for a                                        looping element.</li> </ul> |