public class TemplateBarcode extends TemplateItem
| Constructor and 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. |
TemplateBarcode(Rectangle rectangle,
String name,
Integer pageIndex,
Double pageWidth)
Initializes a new instance of the
TemplateBarcode class with the UPPER CASE name. |
TemplateBarcode(Rectangle rectangle,
String name,
Integer pageIndex,
Double pageWidth,
boolean useUpperCaseName)
Initializes a new instance of the
TemplateBarcode class. |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getRectangle()
Gets the rectangular area that contains the template barcode field.
|
TemplateItem |
scale(double factor)
Creates a copy of the current item with all coordinates scaled by the given factor.
|
getName, getPageIndex, getPageWidth, getUseUpperCaseNamepublic TemplateBarcode(Rectangle rectangle, String name)
TemplateBarcode class.rectangle - The rectangular area that contains the template barcode field.name - The barcode field name.public TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex)
TemplateBarcode clas with the UPPER CASE name.rectangle - The rectangular area that contains the template barcode field.name - The barcode field name.pageIndex - 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.public TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, Double pageWidth)
TemplateBarcode class with the UPPER CASE name.rectangle - The rectangular area that contains the template barcode field.name - The barcode field name.pageIndex - 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.pageWidth - The width of the page that was used to create the template item.public TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, boolean useUpperCaseName)
TemplateBarcode class.rectangle - The rectangular area that contains the template barcode field.name - The barcode field name.pageIndex - 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 - The value that indicates whether a name is converted to UPPER CASE.public TemplateBarcode(Rectangle rectangle, String name, Integer pageIndex, Double pageWidth, boolean useUpperCaseName)
TemplateBarcode class.rectangle - The rectangular area that contains the template barcode field.name - The barcode field name.pageIndex - 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.pageWidth - The width of the page that was used to create the template item.useUpperCaseName - The value that indicates whether a name is converted to UPPER CASE.public Rectangle getRectangle()
Rectangle class that represents the rectangular area that contains the template barcode field.public TemplateItem scale(double factor)
TemplateItemscale in class TemplateItemfactor - The scaling factor.TemplateItem with scaled coordinates.Copyright © 2026. All rights reserved.