__init__ constructor

On this page

init

Initializes a new instance of the TemplateBarcode class.

def __init__(self, rectangle, name):
    ...
Parameter Type Description
rectangle Rectangle The rectangular area that contains the template barcode field.
name str The barcode field name.

init

Initializes a new TemplateBarcode instance.

def __init__(self, rectangle, name, page_width):
    ...
Parameter Type Description
rectangle Rectangle The rectangular area that contains the template barcode field.
name str The barcode field name.
page_width Optional[float] The width of the page that was used to create the template item.

init

Initializes a new TemplateBarcode instance.

def __init__(self, rectangle, name, page_width, use_upper_case_name):
    ...
Parameter Type Description
rectangle Rectangle The rectangular area that contains the template barcode field.
name str The barcode field name.
page_width Optional[float] The width of the page that was used to create the template item.
use_upper_case_name bool Indicates whether the name is converted to UPPER CASE.

See Also

On this page