public interface CodePostnetUtil extends BarcodeUtil
| Modifier and Type | Method and Description |
|---|---|
double |
getBarHeight(LogicalHeight height)
Returns the effective height of a bar with a given logical height.
|
BaselinePosition |
getBaselinePosition()
Returns the baseline position that indicates whether the bars are top-align or bottom-aligned.
|
ChecksumMode |
getChecksumMode()
Returns the current checksum mode.
|
boolean |
getDisplayChecksum()
Indicates whether the checksum will be displayed as part of the human-readable message.
|
double |
getIntercharGapWidth()
Returns the width between encoded characters.
|
double |
getShortBarHeight()
Returns the height of a short bar.
|
void |
setBaselinePosition(BaselinePosition alignment)
Sets the baseline position that indicates whether the bars are top-align or bottom-aligned.
|
void |
setChecksumMode(ChecksumMode mode)
Sets the checksum mode.
|
void |
setDisplayChecksum(boolean value)
Enables or disables the use of the checksum in the human-readable message.
|
void |
setIntercharGapWidth(double width)
Sets the width between encoded characters.
|
void |
setShortBarHeight(double height)
Sets the height of a short bar.
|
doQuietZone, drawBarcode, getBarHeight, getBarWidth, getFont, getHeight, getModuleWidth, getPattern, getQuietZoneWidth, getVerticalQuietZone, hasQuietZone, setBarHeight, setFont, setHeight, setMessagePosition, setModuleWidth, setPattern, setQuietZoneWidth, setVerticalQuietZonedouble getBarHeight(LogicalHeight height)
height - The logical height.BaselinePosition getBaselinePosition()
ChecksumMode getChecksumMode()
double getIntercharGapWidth()
double getShortBarHeight()
boolean getDisplayChecksum()
void setBaselinePosition(BaselinePosition alignment)
alignment - The baseline position.void setChecksumMode(ChecksumMode mode)
mode - The checksum mode.void setDisplayChecksum(boolean value)
value - True to include the checksum in the human-readable message.void setIntercharGapWidth(double width)
width - The inter-character gap width.void setShortBarHeight(double height)
height - The height of a short bar.
© 2016 ZIH Corp. All Rights Reserved.