AutoSize

Type: Boolean

Default: true

Allowed values: True – the canvas resizes automatically to accommodate the barcode when the update() method is called,

                   False – the canvas does not resize automatically.

More:

Background