BarcodeParameters

BarcodeParameters class

Barcode generation parameters.

public class BarcodeParameters : joint.BaseJavaClass

Constructors

NameDescription
BarcodeParameters(object)Initializes a new instance of the BarcodeParameters class.

Methods

NameDescription
getAustralianPostAustralianPost barcode parameters.
getAztecAztec parameters.
getBarColorBars color.
getBarHeightHeight of 1D barcodes’ bars in Unit value. Ignored if AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
getBarWidthReductionGet bars reduction value that is used to compensate ink spread while printing.
getChecksumAlwaysShowAlways display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
getCodabarCodabar parameters.
getCodablockCodablock parameters.
getCode128Code128 parameters.
getCode16KCode16K parameters.
getCodeTextParametersCodetext parameters.
getCouponCoupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.
getDataBarDatabar parameters.
getDataMatrixDataMatrix parameters.
getDotCodeDotCode parameters.
getEnableEscapeIndicates whether explains the character “" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only If the EnableEscape is true, “" will be explained as a special escape character. Otherwise, “" acts as normal characters. Aspose.BarCode supports inputing decimal…
getFilledBarsGets a value indicating whether bars filled. Only for 1D barcodes. Default value: true.
getGS1CompositeBarGS1 Composite Bar parameters.
getHanXinHanXin parameters.
getITFITF parameters.
getMaxiCodeMaxiCode parameters.
getPaddingBarcode paddings. Default value: 5pt 5pt 5pt 5pt.
getPatchCodePatchCode parameters.
getPdf417PDF417 parameters.
getPostalPostal parameters. Used for Postnet, Planet.
getQRQR parameters.
getSupplementSupplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN.
getWideNarrowRatioWide bars to Narrow bars ratio . Default value: 3, that is, wide bars are 3 times as wide as narrow bars . Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard The…
getXDimensionx-dimension is the smallest width of the unit of BarCode bars or spaces. Increase this will increase the whole barcode image width. Ignored if AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
init
isChecksumEnabledEnable checksum during generation 1D barcodes. Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible. Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode…
setBarColor(object)Bars color.
setBarHeight(object)Height of 1D barcodes’ bars in Unit value. Ignored if AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
setBarWidthReduction(object)Sets bars reduction value that is used to compensate ink spread while printing.
setChecksumAlwaysShow(object)Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
setChecksumEnabled(object)Enable checksum during generation 1D barcodes. Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible. Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode…
setEnableEscape(object)Indicates whether explains the character “" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only If the EnableEscape is true, “" will be explained as a special escape character. Otherwise, “" acts as normal characters.
setFilledBars(object)Sets a value indicating whether bars filled. Only for 1D barcodes. Default value: true.
setGS1CompositeBar(object)GS1 Composite Bar parameters.
setPadding(object)Barcode paddings. Default value: 5pt 5pt 5pt 5pt.
setWideNarrowRatio(object)Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard.
setXDimension(object)x-dimension is the smallest width of the unit of BarCode bars or spaces. Increase this will increase the whole barcode image width. Ignored if AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.

Fields

NameDescription
australianPost
aztec
barHeight
barWidthReduction
codabar
codablock
code128
code16K
codeTextParameters
coupon
dataBar
dataMatrix
dotCode
gs1CompositeBar
hanXin
itf
maxiCode
padding
patchCode
pdf417
postal
qr
supplement
xDimension

See Also