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

> Properties and behavior of a document — barcode, type, registration properties, and type-change updates.

## What it does

Stores document properties.

## Properties

| Name | Type | Access | Description |
| :- | :- | :- | :- |
| `Barcode` | `string` | Read/write | The value of the document barcode. |
| `RegistrationProperties` | [IRegistrationProperties](/vantage/documentation/scanning-station/admin/i-registration-properties) | Read-only | Registration properties of the document. |
| `Type` | `string` | Read/write | The type of the document. |
| `DefinedTypes` | [IScriptValues](/vantage/documentation/scanning-station/admin/i-script-values) | Read-only | The document type values allowed for this document, as defined on its batch type. |

## Methods

| Definition | Description |
| :- | :- |
| `UpdateTypeRegistrationProperties (name: string) : bool` | Updates the document's registration parameters for the current document type. Preserves values from parameters that share a name with the previous type. Returns `false` if the document type is non-empty and not included in `DefinedTypes`. |

<Note>
  If you change the document type in a script without calling `UpdateTypeRegistrationProperties`, the registration parameters from the previous type are preserved.
</Note>

## Related topics

* [IBatchInfo](/vantage/documentation/scanning-station/admin/i-batch-info)
* [IRegistrationProperties](/vantage/documentation/scanning-station/admin/i-registration-properties)
* [IScriptValues](/vantage/documentation/scanning-station/admin/i-script-values)
* [IPageInfo](/vantage/documentation/scanning-station/admin/i-page-info)
* [Objects available from event scripts](/vantage/documentation/scanning-station/admin/available-objects)
