public final class TemplateField extends Object
Provides a template field.
Constructor and Description |
---|
TemplateField(String fieldName,
int pageIndex,
TemplateFieldPosition fieldPosition)
Initializes a new instance of the
TemplateField class. |
TemplateField(String fieldName,
TemplateFieldPosition fieldPosition)
Initializes a new instance of the
TemplateField class. |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName()
Gets a name of the template field.
|
TemplateFieldPosition |
getFieldPosition()
Gets a field position on the page.
|
Integer |
getPageIndex()
Gets a zero-based page index.
|
public TemplateField(String fieldName, TemplateFieldPosition fieldPosition)
Initializes a new instance of the TemplateField
class.
fieldName
- A name of the field.fieldPosition
- A field position on the page.public TemplateField(String fieldName, int pageIndex, TemplateFieldPosition fieldPosition)
Initializes a new instance of the TemplateField
class.
fieldName
- A name of the field.pageIndex
- A zero-based page index.fieldPosition
- A field position on the page.public String getFieldName()
Gets a name of the template field.
public Integer getPageIndex()
Gets a zero-based page index.
public TemplateFieldPosition getFieldPosition()
Gets a field position on the page.
TemplateFieldPosition
.Copyright © 2019. All rights reserved.