moduleHeight

Determines the height of a set of bars used to encode one character of supplied text.

The allowable range of heights varies from one barcode pattern to another. The form design must not specify a height outside the allowable range.

Syntax

Reference_Syntax.moduleHeight = "5mm | measurement"

Values

Type

Values

String

  • 5mm (default for 2D barcodes)

  • Any valid measurement.

When this property is not supplied, the default behavior depends on the type of barcode. One-dimensional barcodes grow to the height of the enclosing field, limited by the allowable height range. 2D barcodes default to a module height of 5mm.

Applies to

Model

Object

Form Model

barcode

Version

XFA 2.1

Examples

JavaScript

Code11BarCode1.resolveNode("ui.#barcode").moduleHeight = "5mm";

FormCalc

Code11BarCode1.ui.#barcode.moduleHeight = "5mm"

// Ethnio survey code removed