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

#### Example

After a click on the SCANCODE button:

<div align="left"><figure><img src="/files/9l4bxudNR5HrTM3CGZG0" alt=""><figcaption></figcaption></figure></div>

This popup window is opened:

<div align="left"><figure><img src="/files/6fsojSXFoMN76pBFkl8U" alt=""><figcaption></figcaption></figure></div>

After a successful scan, the Result widget above is filled with the scanned code.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/nedyx/clearlines-functions/import-export-functions/scancode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
