Package com.aspose.barcode.generation
Class ITFParameters
- java.lang.Object
-
- com.aspose.barcode.generation.ITFParameters
-
public class ITFParameters extends java.lang.Object
ITF parameters.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Unit
getItfBorderThickness()
Gets an ITF border (bearer bar) thickness in Unit value.ITF14BorderType
getItfBorderType()
Border type of ITF barcode.int
getQuietZoneCoef()
Size of the quiet zones in xDimension.void
setItfBorderThickness(Unit value)
Sets an ITF border (bearer bar) thickness in Unit value.void
setItfBorderType(ITF14BorderType value)
Border type of ITF barcode.void
setQuietZoneCoef(int value)
Size of the quiet zones in xDimension.java.lang.String
toString()
Returns a human-readable string representation of thisITFParameters
.
-
-
-
Method Detail
-
getItfBorderThickness
public Unit getItfBorderThickness()
Gets an ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
-
setItfBorderThickness
public void setItfBorderThickness(Unit value)
Sets an ITF border (bearer bar) thickness in Unit value. Default value: 12pt.
-
getItfBorderType
public ITF14BorderType getItfBorderType()
Border type of ITF barcode. Default value: ITF14BorderType.BAR.
-
setItfBorderType
public void setItfBorderType(ITF14BorderType value)
Border type of ITF barcode. Default value: ITF14BorderType.BAR.
-
getQuietZoneCoef
public int getQuietZoneCoef()
Size of the quiet zones in xDimension. Default value: 10, meaning if xDimension = 2px than quiet zones will be 20px.
- Throws:
java.lang.IllegalArgumentException
-<p>The <b>QuietZoneCoef</b> parameter value is less than 10.</p>
-
setQuietZoneCoef
public 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:
java.lang.IllegalArgumentException
-<p>The <b>QuietZoneCoef</b> parameter value is less than 10.</p>
-
toString
public java.lang.String toString()
Returns a human-readable string representation of this
ITFParameters
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string that represents this
ITFParameters
.
-
-