# Attributes

**Attributes** allow you to define and designate areas of the document from which data will be recognized by the Robot and imported into the Results table.

The main tools for working with Attributes:

<figure><img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-8d847b1d58cba1e5292c098b6a1991294238f32b%2F2025-10-02_21-16-22.png?alt=media" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="53"></th><th width="143"></th><th></th></tr></thead><tbody><tr><td><strong>No.</strong></td><td><strong>Tool</strong></td><td><strong>Description</strong></td></tr><tr><td>1.</td><td>button <img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-b3e94ea679cc54134c7dc334cbe3c32635eca0f1%2Fimage%20(202).png?alt=media" alt=""></td><td>Allows you to add a new Attribute.</td></tr><tr><td>2.</td><td>button <img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-18135f091b6209562764f6faee2798de512c97db%2Fimage%20(203).png?alt=media" alt=""></td><td>Allows you to move the Attribute up.</td></tr><tr><td>3.</td><td>button <img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-62c1ba1d290f3ae2d657b9427a9e09f602364958%2Fimage%20(204).png?alt=media" alt=""></td><td>Allows you to move the Attribute down.</td></tr><tr><td>4.</td><td>button <img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-1c0522ab45564e9f1d6d25b5cc9b8e14cfbdddb3%2Fimage%20(205).png?alt=media" alt=""></td><td>Allows you to copy the selected Attribute.</td></tr><tr><td>5.</td><td>button <img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-55749a6ef24e1980eaaeb56b5e3791fac2675259%2Fimage%20(206).png?alt=media" alt=""></td><td>Allows you to delete the selected Attribute.</td></tr><tr><td>6.</td><td>button <img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-fef0b918da8702d23fa2cdcfce322818394dcf61%2Fimage%20(207).png?alt=media" alt=""></td><td>Allows you to add a new binding to the selected Attribute.</td></tr><tr><td>7.</td><td>button <img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-19278f467a92833d1e3a95a3465f7871f3a6191f%2Fimage%20(208).png?alt=media" alt=""></td><td>Allows you to delete the selected binding.</td></tr><tr><td>8.</td><td>button <img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-e5a70e6f8c9c90c096250f60c31bcc2ade670848%2F2025-10-01_17-09-48.png?alt=media" alt=""></td><td>Allows you to move the binding up.</td></tr><tr><td>9.</td><td>button <img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-9dc494100dcc95d8f44bdd693d2240a919d134c0%2F2025-10-01_17-11-20.png?alt=media" alt=""></td><td>Allows you to move the binding down.</td></tr></tbody></table>

## **Properties of Attributes**

When creating a new Attribute, a list of properties and tools for working with the Attribute opens on the workspace panel.

<figure><img src="https://3212714295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI0zUnKkOuy6lWt7DZ46u%2Fuploads%2Fgit-blob-7f75907969f1b1bc7560083dfe564efd2695f3a4%2Fimage%20(209).png?alt=media" alt=""><figcaption></figcaption></figure>

Properties and tools for working with the Attribute:

<table data-header-hidden><thead><tr><th width="58"></th><th width="172"></th><th></th></tr></thead><tbody><tr><td><strong>No.</strong></td><td><strong>Property/Tool</strong></td><td><strong>Description</strong></td></tr><tr><td>1.</td><td>Name</td><td>The name of the Attribute that will be reflected in the results.</td></tr><tr><td>2.</td><td>Anchor Bindings</td><td>A list of anchor bindings for the Attribute.</td></tr><tr><td>3.</td><td>Line Restrictions</td><td><p>When this setting is enabled, line restrictions are searched for.</p><p>The Attribute can be restricted from any side relative to the lines recognized by the OCR module. These lines are displayed when the “OCR Lines” button is pressed. Possible values:</p><ul><li>None – disabled;</li><li>UpDown – from the top and bottom;</li><li>Up – from the top;</li><li>Down – from the bottom.</li></ul></td></tr><tr><td>4.</td><td>Adjust Angle</td><td><p>When this setting is enabled, the angle of the area is adjusted.<br><br>The area is adjusted if it touches the borders of the table.</p><p>When the “Auto Align” value is enabled, angle adjustment is not needed.</p></td></tr><tr><td>5.</td><td>Area Binding</td><td><p>The binding to the area is done by 4 parameters:</p><ul><li>X coordinate,</li><li>Y coordinate,</li><li>width,</li><li>height of the area.</li></ul><p>The origin point of the area is at the top left.</p></td></tr><tr><td>6.</td><td>Area</td><td>The rectangle of the Attribute area on the page.</td></tr><tr><td>7.</td><td>Min Number of Characters</td><td><p>The minimum number of characters contained in the Attribute.</p><p>The default value is set to <code>0</code>.</p><p>This setting is used if the Attribute must contain a certain number of characters, for example, the “Tax ID” Attribute. If the computed value is less than specified, an error will be generated.</p></td></tr><tr><td>8.</td><td>Data Type</td><td><p>The data type for the Attribute.</p><p>Possible values:</p><ul><li>Text – text;</li><li>Int – integer;</li><li>Float – floating-point number;</li><li>Date Time – date and time;</li><li>Chars – only letters (digits and other characters are excluded);</li><li>CountColorHSV – the number of points in a specified color range.<br><br>The value must be specified in the format “<code>H1-H2;S1-S2;V1-V2</code>”,<br>where <code>H1</code>, <code>S1</code>, <code>V1</code> – are the minimum values, and <code>H2</code>, <code>S2</code>, <code>V2</code> – are the maximum values;</li><li>Regex – regular expression.</li></ul></td></tr><tr><td>9.</td><td>Value Format</td><td><p>The format of the Attribute value. Specifies the formatting of the value.</p><p>For example:</p><ul><li>If the value type is date and time, to get only the date, you need to specify “<code>dd.MM.yyyy</code>”;</li><li>If the value type is CountColorHSV, you need to specify the color range in the format “<code>H1-H2;S1-S2;V1-V2</code>”. The format is specified without quotes;</li><li>If the value type is Regex, you need to specify the regular expression.</li></ul></td></tr><tr><td>10.</td><td>Error if Value is Empty</td><td>If the Attribute value is empty during template processing, a recognition error will be generated.</td></tr><tr><td>11.</td><td>Check Anchor Bindings</td><td>Check the anchor bindings of the Attribute. When this setting is enabled, the anchor bindings will be checked. If any of the bindings are not found, the Attribute will also not be found.</td></tr><tr><td>12.</td><td>Operating Mode</td><td><p>The operating mode of the Attribute. Possible values:</p><ul><li>Default - standard operation of the Attribute (its value will be filled in upon the first successful identification of Anchors);</li><li>Append - adding a value to the Attribute upon each successful identification of Anchors on subsequent pages;</li><li>Overwrite - overwriting, rather than adding, the value of the Attribute.</li></ul></td></tr><tr><td>13.</td><td>Description</td><td>User description of the Attribute.</td></tr></tbody></table>
