# SCANCODE

#### Syntax

**SCANCODE**()

#### Remarks

* When the function is called, a popup window is opened in the app. In the popup, the QR or bar code can either be uploaded, added as an image by drag\&drop, or scanned by using the device camera.
* After a successful scan, the function returns the content of the code as a text.
* For a list of all supported codes, please open this [link](https://github.com/mebjas/html5-qrcode?tab=readme-ov-file#supported-code-formats).&#x20;

#### Example

After a click on the SCANCODE button:

<div align="left"><figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/Pt15a6oI1fdCTBM4cCpc/grafik.png" alt=""><figcaption></figcaption></figure></div>

This popup window is opened:

<div align="left"><figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/ou1gwrIOW8tqkS0ynsGv/grafik.png" alt=""><figcaption></figcaption></figure></div>

After a successful scan, the Result widget above is filled with the scanned code.&#x20;
