Aspose::BarCode::Generation::BarcodeParameters class
Contents
[
Hide
]BarcodeParameters class
Barcode generation parameters.
class BarcodeParameters : public System::Object
Methods
Method | Description |
---|---|
get_AustralianPost() const | AustralianPost barcode parameters. |
get_Aztec() const | Aztec parameters. |
get_BarColor() const | Bars color. Default value: Color.Black. |
get_BarHeight() const | Height of 1D barcodes’ bars in Unit value. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation. |
get_BarWidthReduction() const | Get or sets bars reduction value that is used to compensate ink spread while printing. Default value: 0. |
get_ChecksumAlwaysShow() const | Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes. |
get_Codabar() const | Codabar parameters. |
get_Codablock() const | Codablock parameters. |
get_Code128() const | Code128 parameters. |
get_Code16K() const | Code16K parameters. |
get_CodeTextParameters() const | Codetext parameters. |
get_Coupon() const | Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon. |
get_DataBar() const | Databar parameters. |
get_DataMatrix() const | DataMatrix parameters. |
get_DotCode() const | DotCode parameters. |
get_EnableEscape() const | 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. | |
get_FilledBars() const | Gets a value indicating whether bars filled. Only for 1D barcodes. Default value: true. |
get_GS1CompositeBar() const | GS1 Composite Bar parameters. |
get_HanXin() const | HanXin parameters. |
get_IsChecksumEnabled() const | |
get_ITF() const | ITF parameters. |
get_MaxiCode() const | MaxiCode parameters. |
get_Padding() const | Barcode paddings. Default value: 5pt 5pt 5pt 5pt. |
get_PatchCode() const | PatchCode parameters. |
get_Pdf417() const | PDF417 parameters. |
get_Postal() const | Postal parameters. Used for Postnet, Planet. |
get_QR() const | QR, MicroQR and RectMicroQR parameters. |
get_Supplement() const | Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN. |
get_ThrowExceptionWhenCodeTextIncorrect() const | Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode’s specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingapurePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect. |
get_WideNarrowRatio() | 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. |
get_XDimension() const | 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 BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation. |
set_BarColor(System::Drawing::Color) | Bars color. Default value: Color.Black. |
set_BarHeight(System::SharedPtr<Unit>) | Height of 1D barcodes’ bars in Unit value. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation. |
set_BarWidthReduction(System::SharedPtr<Unit>) | Get or sets bars reduction value that is used to compensate ink spread while printing. Default value: 0. |
set_ChecksumAlwaysShow(bool) | Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes. |
set_EnableEscape(bool) | 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. | |
set_FilledBars(bool) | Sets a value indicating whether bars filled. Only for 1D barcodes. Default value: true. |
set_GS1CompositeBar(System::SharedPtr<GS1CompositeBarParameters>) | GS1 Composite Bar parameters. |
set_IsChecksumEnabled(EnableChecksum) | |
set_ThrowExceptionWhenCodeTextIncorrect(bool) | Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode’s specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingapurePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect. |
set_WideNarrowRatio(float) | 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. |
set_XDimension(System::SharedPtr<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 BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation. |
See Also
- Namespace Aspose::BarCode::Generation
- Library Aspose.BarCode for C++