Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Barcode generation parameters. More...
Inherits BaseJavaClass.
Public Member Functions | |
def | __init__ (self, javaClass) |
AustralianPostParameters | getAustralianPost (self) |
AustralianPost barcode parameters. More... | |
AztecParameters | getAztec (self) |
Aztec parameters. More... | |
Tuple[int, int, int] | getBarColor (self) |
Bars color, representation of an RGB tuple. More... | |
Unit | getBarHeight (self) |
Height of 1D barcodes' bars in Unit value. More... | |
Unit | getBarWidthReduction (self) |
Get bars reduction value that is used to compensate ink spread while printing. More... | |
bool | getChecksumAlwaysShow (self) |
Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes. More... | |
CodabarParameters | getCodabar (self) |
Codabar parameters. More... | |
CodablockParameters | getCodablock (self) |
Codablock parameters. More... | |
Code128Parameters | getCode128 (self) |
Code128 parameters. More... | |
Code16KParameters | getCode16K (self) |
Code16K parameters. More... | |
CodetextParameters | getCodeTextParameters (self) |
Codetext parameters. More... | |
CouponParameters | getCoupon (self) |
Coupon parameters. More... | |
DataBarParameters | getDataBar (self) |
Databar parameters. More... | |
DataMatrixParameters | getDataMatrix (self) |
DataMatrix parameters. More... | |
DotCodeParameters | getDotCode (self) |
DotCode parameters. More... | |
bool | getEnableEscape (self) |
Indicates whether explains the character "\" as an escape character in CodeText property. More... | |
bool | getFilledBars (self) |
Gets a value indicating whether bars filled. More... | |
GS1CompositeBarParameters | getGS1CompositeBar (self) |
GS1 Composite Bar parameters. More... | |
HanXinParameters | getHanXin (self) |
HanXin parameters. More... | |
ITFParameters | getITF (self) |
ITF parameters. More... | |
MaxiCodeParameters | getMaxiCode (self) |
MaxiCode parameters. More... | |
Padding | getPadding (self) |
Barcode paddings. More... | |
PatchCodeParameters | getPatchCode (self) |
PatchCode parameters. More... | |
Pdf417Parameters | getPdf417 (self) |
PDF417 parameters. More... | |
PostalParameters | getPostal (self) |
Postal parameters. More... | |
QrParameters | getQR (self) |
QR parameters. More... | |
SupplementParameters | getSupplement (self) |
Supplement parameters. More... | |
float | getWideNarrowRatio (self) |
Wide bars to Narrow bars ratio. More... | |
Unit | getXDimension (self) |
x-dimension is the smallest width of the unit of BarCode bars or spaces. More... | |
None | init (self) |
EnableChecksum | isChecksumEnabled (self) |
Enable checksum during generation 1D barcodes. More... | |
None | setBarColor (self, Tuple[int, int, int] value) |
Bars color, representation of an RGB tuple. More... | |
None | setBarHeight (self, Unit value) |
Height of 1D barcodes' bars in Unit value. More... | |
None | setBarWidthReduction (self, Unit value) |
Sets bars reduction value that is used to compensate ink spread while printing. More... | |
None | setChecksumAlwaysShow (self, bool value) |
Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes. More... | |
None | setChecksumEnabled (self, EnableChecksum value) |
Enable checksum during generation 1D barcodes. More... | |
None | setEnableEscape (self, bool value) |
Indicates whether explains the character "\" as an escape character in CodeText property. More... | |
None | setFilledBars (self, bool value) |
Sets a value indicating whether bars filled. More... | |
None | setGS1CompositeBar (self, GS1CompositeBarParameters value) |
GS1 Composite Bar parameters. More... | |
None | setWideNarrowRatio (self, float value) |
Wide bars to Narrow bars ratio. More... | |
None | setXDimension (self, Unit unit) |
x-dimension is the smallest width of the unit of BarCode bars or spaces. More... | |
Public Member Functions inherited from BaseJavaClass | |
def | getJavaClass (self) |
str | getJavaClassName (self) |
bool | isNull (self) |
None | printJavaClassName (self) |
None | setJavaClass (self, javaClass) |
Public Attributes | |
barHeight | |
barWidthReduction | |
gs1CompositeBar | |
xDimension | |
Public Attributes inherited from BaseJavaClass | |
javaClass | |
javaClassName | |
Barcode generation parameters.
def __init__ | ( | self, | |
javaClass | |||
) |
Reimplemented from BaseJavaClass.
AustralianPostParameters getAustralianPost | ( | self | ) |
AustralianPost barcode parameters.
AztecParameters getAztec | ( | self | ) |
Aztec parameters.
Tuple[int, int, int] getBarColor | ( | self | ) |
Bars color, representation of an RGB tuple.
Default value: 0
Unit getBarHeight | ( | self | ) |
Height of 1D barcodes' bars in Unit value.
Ignored if AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
BarCodeException |
Unit getBarWidthReduction | ( | self | ) |
Get bars reduction value that is used to compensate ink spread while printing.
bool getChecksumAlwaysShow | ( | self | ) |
Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
CodabarParameters getCodabar | ( | self | ) |
Codabar parameters.
CodablockParameters getCodablock | ( | self | ) |
Codablock parameters.
Code128Parameters getCode128 | ( | self | ) |
Code128 parameters.
Code16KParameters getCode16K | ( | self | ) |
Code16K parameters.
CodetextParameters getCodeTextParameters | ( | self | ) |
Codetext parameters.
CouponParameters getCoupon | ( | self | ) |
Coupon parameters.
Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.
DataBarParameters getDataBar | ( | self | ) |
Databar parameters.
DataMatrixParameters getDataMatrix | ( | self | ) |
DataMatrix parameters.
DotCodeParameters getDotCode | ( | self | ) |
DotCode parameters.
bool getEnableEscape | ( | self | ) |
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. Aspose.BarCode supports inputing decimal ascii code and mnemonic for ASCII control-code characters. For example, \013 and \CR stands for CR.
bool getFilledBars | ( | self | ) |
Gets a value indicating whether bars filled.
Only for 1D barcodes. Default value: True.
GS1CompositeBarParameters getGS1CompositeBar | ( | self | ) |
GS1 Composite Bar parameters.
This sample shows how to create and save a GS1 Composite Bar image. Note that 1D codetext and 2D codetext are separated by symbol '/'
HanXinParameters getHanXin | ( | self | ) |
HanXin parameters.
ITFParameters getITF | ( | self | ) |
ITF parameters.
MaxiCodeParameters getMaxiCode | ( | self | ) |
MaxiCode parameters.
Padding getPadding | ( | self | ) |
Barcode paddings.
Default value: 5pt 5pt 5pt 5pt.
PatchCodeParameters getPatchCode | ( | self | ) |
PatchCode parameters.
Pdf417Parameters getPdf417 | ( | self | ) |
PDF417 parameters.
PostalParameters getPostal | ( | self | ) |
Postal parameters.
Used for Postnet, Planet.
QrParameters getQR | ( | self | ) |
QR parameters.
SupplementParameters getSupplement | ( | self | ) |
Supplement parameters.
Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN.
float getWideNarrowRatio | ( | self | ) |
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 The WideNarrowRatio parameter value is less than or equal to 0.
Unit getXDimension | ( | self | ) |
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.
None init | ( | self | ) |
Reimplemented from BaseJavaClass.
EnableChecksum isChecksumEnabled | ( | self | ) |
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, DeutschePostLeitcode, VIN, Codabar Checksum always used: Rest symbology
None setBarColor | ( | self, | |
Tuple[int, int, int] | value | ||
) |
Bars color, representation of an RGB tuple.
Default value: 0.
None setBarHeight | ( | self, | |
Unit | value | ||
) |
Height of 1D barcodes' bars in Unit value.
Ignored if AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
BarCodeException |
None setBarWidthReduction | ( | self, | |
Unit | value | ||
) |
Sets bars reduction value that is used to compensate ink spread while printing.
None setChecksumAlwaysShow | ( | self, | |
bool | value | ||
) |
Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
None setChecksumEnabled | ( | self, | |
EnableChecksum | value | ||
) |
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, DeutschePostLeitcode, VIN, Codabar Checksum always used: Rest symbology
None setEnableEscape | ( | self, | |
bool | value | ||
) |
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.
Aspose.BarCode supports inputing decimal ascii code and mnemonic for ASCII control-code characters. For example, \013 and \CR stands for CR.
None setFilledBars | ( | self, | |
bool | value | ||
) |
Sets a value indicating whether bars filled.
Only for 1D barcodes. Default value: True.
None setGS1CompositeBar | ( | self, | |
GS1CompositeBarParameters | value | ||
) |
GS1 Composite Bar parameters.
This sample shows how to create and save a GS1 Composite Bar image. Note that 1D codetext and 2D codetext are separated by symbol '/'
None setWideNarrowRatio | ( | self, | |
float | value | ||
) |
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 The WideNarrowRatio parameter value is less than or equal to 0.
None setXDimension | ( | self, | |
Unit | unit | ||
) |
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.
BarCodeException |
barHeight |
barWidthReduction |
gs1CompositeBar |
xDimension |