Skip to main content

What it does

Stores document properties.

Properties

NameTypeAccessDescription
BarcodestringRead/writeThe value of the document barcode.
RegistrationPropertiesIRegistrationPropertiesRead-onlyRegistration properties of the document.
TypestringRead/writeThe type of the document.
DefinedTypesIScriptValuesRead-onlyPossible non-empty document type values for the current document taken from the batch type settings.

Methods

DefinitionDescription
UpdateTypeRegistrationProperties (name: string) : boolUpdates 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 UpdateTypeRegistrationPropertie method, the registration parameters from the previous document type will be preserved.