Aspose::BarCode::Generation::BarcodeParameters class

BarcodeParameters class

Barcode generation parameters.

class BarcodeParameters : public System::Object

Methods

MethodDescription
get_AustralianPost() constAustralianPost barcode parameters.
get_Aztec() constAztec parameters.
get_BarColor() constBars color. Default value: Color.Black.
get_BarHeight() constHeight of 1D barcodes’ bars in Unit value. Ignored if BaseGenerationParameters::AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation.
get_BarWidthReduction() constGet or sets bars reduction value that is used to compensate ink spread while printing. Default value: 0.
get_ChecksumAlwaysShow() constAlways display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
get_Codabar() constCodabar parameters.
get_Codablock() constCodablock parameters.
get_Code128() constCode128 parameters.
get_Code16K() constCode16K parameters.
get_CodeTextParameters() constCodetext parameters.
get_Coupon() constCoupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.
get_DataBar() constDatabar parameters.
get_DataMatrix() constDataMatrix parameters.
get_DotCode() constDotCode parameters.
get_EnableEscape() constIndicates 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() constGets a value indicating whether bars filled. Only for 1D barcodes. Default value: true.
get_GS1CompositeBar() constGS1 Composite Bar parameters.
get_HanXin() constHanXin parameters.
get_IsChecksumEnabled() const
get_ITF() constITF parameters.
get_MaxiCode() constMaxiCode parameters.
get_Padding() constBarcode paddings. Default value: 5pt 5pt 5pt 5pt.
get_PatchCode() constPatchCode parameters.
get_Pdf417() constPDF417 parameters.
get_Postal() constPostal parameters. Used for Postnet, Planet.
get_QR() constQR, MicroQR and RectMicroQR parameters.
get_Supplement() constSupplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN.
get_ThrowExceptionWhenCodeTextIncorrect() constOnly 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() constx-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