Class ITFParameters
ITF parameters.
-
Method Summary
Modifier and TypeMethodDescriptionfinal UnitGets an ITF border (bearer bar) thickness in Unit value.final ITF14BorderTypeBorder type of ITF barcode.final UnitDeprecated.Use BorderThickness insteadfinal ITF14BorderTypeDeprecated.Use BorderType insteadfinal intSize of the quiet zones in xDimension.final voidsetBorderThickness(Unit value) Sets an ITF border (bearer bar) thickness in Unit value.final voidsetBorderType(ITF14BorderType value) Border type of ITF barcode.final voidsetItfBorderThickness(Unit value) Deprecated.Use BorderThickness insteadfinal voidsetItfBorderType(ITF14BorderType value) Deprecated.Use BorderType insteadfinal voidsetQuietZoneCoef(int value) Size of the quiet zones in xDimension.toString()Returns a human-readable string representation of thisITFParameters.
-
Method Details
-
getBorderThickness
Gets an ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
- Returns:
- an ITF border (bearer bar) thickness in Unit value.
-
setBorderThickness
Sets an ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
- Parameters:
value- an ITF border (bearer bar) thickness in Unit value.
-
getItfBorderThickness
Deprecated.Use BorderThickness insteadGets an ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
- Returns:
- an ITF border (bearer bar) thickness in Unit value.
-
setItfBorderThickness
Deprecated.Use BorderThickness insteadSets an ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
- Parameters:
value- an ITF border (bearer bar) thickness in Unit value.
-
getBorderType
Border type of ITF barcode. Default value: ITF14BorderType.Bar.
-
setBorderType
Border type of ITF barcode. Default value: ITF14BorderType.Bar.
-
getItfBorderType
Deprecated.Use BorderType insteadBorder type of ITF barcode. Default value: ITF14BorderType.Bar.
-
setItfBorderType
Deprecated.Use BorderType insteadBorder type of ITF barcode. Default value: ITF14BorderType.Bar.
-
getQuietZoneCoef
public final int getQuietZoneCoef()Size of the quiet zones in xDimension. Default value: 10, meaning if xDimension = 2px than quiet zones will be 20px.
- Throws:
IllegalArgumentException-<p>The <b>QuietZoneCoef</b> parameter value is less than 10.</p>
-
setQuietZoneCoef
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.
- Throws:
IllegalArgumentException-<p>The <b>QuietZoneCoef</b> parameter value is less than 10.</p>
-
toString
Returns a human-readable string representation of this
ITFParameters.- Overrides:
toStringin classObject- Returns:
- A string that represents this
ITFParameters.
-