> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IDocumentInfo

> IDocumentInfo object in the Scanning Station scripting model stores document properties such as priority, barcode, type, and registration properties.

## What it does

Stores document properties.

## Properties

| **Name**               | **Type**                                                                                     | **Access** | **Description**                                                                                     |
| ---------------------- | -------------------------------------------------------------------------------------------- | ---------- | --------------------------------------------------------------------------------------------------- |
| Priority               | int                                                                                          | Read/write | The priority of the document                                                                        |
| Barcode                | string                                                                                       | Read/write | The value of the document barcode                                                                   |
| RegistrationProperties | [IRegistrationProperties](/flexi-capture/scanning-station/shared/scripts/registration-props) | Read-only  | Registration properties of the document                                                             |
| Type                   | string                                                                                       | Read/write | The type of the document                                                                            |
| DefinedTypes           | [IScriptValues](/flexi-capture/scanning-station/shared/scripts/script-values)                | Read-only  | Possible non-empty document type values for the current document taken from the batch type settings |

## Methods

| **Definition**                                         | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| UpdateTypeRegistrationProperties (name: string) : bool | Updates the registration parameters of the document for the current document type. Preserves the values of the parameters that have identical names. Returns *false* if the document type is not empty and is not included in **DefinedTypes**. If you change the type of a document using a script without applying the **UpdateTypeRegistrationProperties** method, the registration parameters from the previous document type will be preserved. |
