TemplateBarcode
Contents
 [
        
            Hide
        ]
    Inheritance: java.lang.Object, com.groupdocs.parser.templates.TemplateItem
public class TemplateBarcode extends TemplateItem
Provides the template barcode field.
Constructors
| Constructor | Description | 
|---|---|
| TemplateBarcode(Rectangle rectangle, String name) | Initializes a new instance of the TemplateBarcode class. | 
| TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex) | Initializes a new instance of the TemplateBarcode clas with the UPPER CASE name. | 
| TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, boolean useUpperCaseName) | Initializes a new instance of the TemplateBarcode class. | 
Methods
| Method | Description | 
|---|---|
| getRectangle() | Gets the rectangular area that contains the template barcode field. | 
TemplateBarcode(Rectangle rectangle, String name)
public TemplateBarcode(Rectangle rectangle, String name)
Initializes a new instance of the TemplateBarcode class.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| rectangle | Rectangle | The rectangular area that contains the template barcode field. | 
| name | java.lang.String | The barcode field name. | 
TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex)
public TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex)
Initializes a new instance of the TemplateBarcode clas with the UPPER CASE name.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| rectangle | Rectangle | The rectangular area that contains the template barcode field. | 
| name | java.lang.String | The barcode field name. | 
| pageIndex | java.lang.Integer | An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. | 
TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, boolean useUpperCaseName)
public TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, boolean useUpperCaseName)
Initializes a new instance of the TemplateBarcode class.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| rectangle | Rectangle | The rectangular area that contains the template barcode field. | 
| name | java.lang.String | The barcode field name. | 
| pageIndex | java.lang.Integer | An integer value that represents the index of the page where the template item is located; null if the template item is located on any page. | 
| useUpperCaseName | boolean | The value that indicates whether a name is converted to UPPER CASE. | 
getRectangle()
public Rectangle getRectangle()
Gets the rectangular area that contains the template barcode field.
Returns: Rectangle - An instance of Rectangle class that represents the rectangular area that contains the template barcode field.