public class ITFParameters
extends java.lang.Object
ITF parameters.
| Modifier and Type | Method and Description |
|---|---|
Unit |
getBorderThickness()
Gets an ITF border (bearer bar) thickness in Unit value.
|
ITF14BorderType |
getBorderType()
Border type of ITF barcode.
|
Unit |
getItfBorderThickness()
Deprecated.
Use BorderThickness instead
|
ITF14BorderType |
getItfBorderType()
Deprecated.
Use BorderType instead
|
int |
getQuietZoneCoef()
Size of the quiet zones in xDimension.
|
void |
setBorderThickness(Unit value)
Sets an ITF border (bearer bar) thickness in Unit value.
|
void |
setBorderType(ITF14BorderType value)
Border type of ITF barcode.
|
void |
setItfBorderThickness(Unit value)
Deprecated.
Use BorderThickness instead
|
void |
setItfBorderType(ITF14BorderType value)
Deprecated.
Use BorderType instead
|
void |
setQuietZoneCoef(int value)
Size of the quiet zones in xDimension.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
ITFParameters. |
public final Unit getBorderThickness()
Gets an ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
public final void setBorderThickness(Unit value)
Sets an ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
value - an ITF border (bearer bar) thickness in Unit value.@Deprecated public final Unit getItfBorderThickness()
Gets an ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
@Deprecated public final void setItfBorderThickness(Unit value)
Sets an ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
value - an ITF border (bearer bar) thickness in Unit value.public final ITF14BorderType getBorderType()
Border type of ITF barcode. Default value: ITF14BorderType.Bar.
public final void setBorderType(ITF14BorderType value)
Border type of ITF barcode. Default value: ITF14BorderType.Bar.
@Deprecated public final ITF14BorderType getItfBorderType()
Border type of ITF barcode. Default value: ITF14BorderType.Bar.
@Deprecated public final void setItfBorderType(ITF14BorderType value)
Border type of ITF barcode. Default value: ITF14BorderType.Bar.
public final int getQuietZoneCoef()
Size of the quiet zones in xDimension. Default value: 10, meaning if xDimension = 2px than quiet zones will be 20px.
java.lang.IllegalArgumentException - <p>The <b>QuietZoneCoef</b> parameter value is less than 10.</p>public final void setQuietZoneCoef(int value)
Size of the quiet zones in xDimension. Default value: 10, meaning if xDimension = 2px than quiet zones will be 20px.
java.lang.IllegalArgumentException - <p>The <b>QuietZoneCoef</b> parameter value is less than 10.</p>public java.lang.String toString()
Returns a human-readable string representation of this ITFParameters.
toString in class java.lang.ObjectITFParameters.