Aspose.Barcode.Generation

Aspose.Barcode.Generation namespace

This reference details the types available in Aspose.Barcode.Generation, including parameter objects for specific symbologies such as AustralianPost and Aztec, as well as visual options like borders, captions, and color definitions. Use these classes to fine‑tune barcode generation settings before rendering the image.

Classes

ClassDescription
AustralianPostParametersAustralianPost barcode parameters.
AztecParametersAztec parameters.
BarcodeGeneratorBarcodeGenerator for backend barcode images generation. supported symbologies: 1D: Codabar, Code11, Code128, Code39Stand
BarcodeParametersBarcode generation parameters.
BaseGenerationParametersBarcode image generation parameters.
BorderParametersBarcode image border parameters
CaptionParametersCaption parameters.
CMYKColorClass for CMYK color. A null instance means CMYK is not used, and default RGB color is in use.
CodabarParametersCodabar parameters.
CodablockParametersCodablock parameters.
Code128ParametersCode128 parameters.
Code16KParametersCode16K parameters.
CodetextParametersCodetext parameters.
CouponParametersCoupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon.
DataBarParametersDatabar parameters.
DataMatrixExtCodetextBuilderExtended codetext generator for 2D DataMatrix barcodes for ExtendedCodetext Mode of DataMatrixEncodeMode
DataMatrixParametersDataMatrix parameters.
DotCodeExtCodetextBuilderExtended codetext generator for 2D DotCode barcodes for ExtendedCodetext Mode of DotCodeEncodeMode
DotCodeParametersDotCode parameters.
EncodeTypesSpecifies the type of barcode to encode.
ExtCodetextBuilderHelper class for automatic codetext generation of the Extended Codetext Mode
FontUnitDefines a particular format for text, including font face, size, and style attributes where size in Unit value property.
GS1CompositeBarParametersGS1 Composite bar parameters.
HanXinExtCodetextBuilderExtended codetext generator for Han Xin Code for Extended Mode of HanXinEncodeMode
HanXinParametersHan Xin parameters.
HslaColorClass for representing HSLA color (Hue, Saturation, Lightness, Alpha)
ImageParametersImage parameters.
ITFParametersITF parameters.
MaxiCodeExtCodetextBuilderExtended codetext generator for MaxiCode barcodes for ExtendedCodetext Mode of MaxiCodeEncodeMode Use TwoDDisplayText pr
MaxiCodeParametersMaxiCode parameters.
PaddingPaddings parameters.
PatchCodeParametersPatchCode parameters.
Pdf417ParametersPDF417 parameters. Contains PDF417, MacroPDF417, MicroPDF417 and GS1MicroPdf417 parameters. MacroPDF417 requires two fie
PdfParametersPDF parameters wrapper. Expects an underlying javaClass instance that provides the corresponding getter/setter methods r
PostalParametersPostal parameters. Used for Postnet, Planet.
QrExtCodetextBuilderExtended codetext generator for 2D QR barcodes for ExtendedCodetext Mode of QREncodeMode Use Display2DText property of B
QrParametersQR parameters.
QrStructuredAppendParametersQR structured append parameters.
SupplementParametersSupplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN.
SvgParametersSVG parameters.
UnitSpecifies the size value in different units (Pixel, Inches, etc.). This sample shows how to create and save a BarCode im

Enums

EnumDescription
AutoSizeModeSpecifies the different types of automatic sizing modes. Default value is AutoSizeMode::NONE. This sample shows how to c
AztecEncodeModeEncoding mode for Aztec barcodes.
AztecSymbolModeSpecifies the Aztec symbol mode.
BarCodeImageFormatSpecifies the file format of the image.
Base64CodeTextType
BorderDashStyleSpecifies the style of dashed border lines.
CodabarChecksumModeSpecifies the checksum algorithm for Codabar
CodabarSymbolSpecifies the start or stop symbol of the Codabar barcode specification.
Code128EncodeModeEncoding mode for Code128 barcodes. specification.
CodeLocationCodetext location
DataMatrixEccTypeSpecify the type of the ECC to encode.
DataMatrixEncodeModeDataMatrix encoder’s encoding mode, default to Auto
DataMatrixVersionSpecify the type of the ECC to encode.
DotCodeEncodeModeEncoding mode for DotCode barcodes.
ECIEncodingsExtended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for
EnableChecksumEnable checksum during generation for 1D barcodes. Default is treated as Yes for symbologies which must contain checksum
ExtCodeItemType
ExtCodetextBuilderType
FontModeFont size mode.
FontStyleSpecifies style information applied to text.
GraphicsUnitSpecifies the unit of measure for the given data.
HanXinEncodeModeHan Xin Code encoding mode. It is recommended to use Auto with ASCII / Chinese characters or Unicode for Unicode charact
HanXinErrorLevelLevel of Reed-Solomon error correction. From low to high: L1, L2, L3, L4.
HanXinExtCodetextBuilderType
HanXinVersionVersion of Han Xin Code. From Version01 - 23 x 23 modules to Version84 - 189 x 189 modules, increasing in steps of 2 mod
ITF14BorderTypeITF14 barcode’s border type
MacroCharacterMacro Characters 05 and 06 values are used to obtain more compact encoding in special modes. 05 Macro craracter is trans
MaxiCodeEncodeModeEncoding mode for MaxiCode barcodes.
MaxiCodeModeEncoding mode for MaxiCode barcodes. This sample shows how to genereate MaxiCode barcodes using ComplexBarcodeGenerator
MicroQRVersionVersion of MicroQR Code. From M1 to M4.
PatchFormatPatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes
Pdf417CompactionModePdf417 barcode’s compation mode
Pdf417EncodeModePdf417 barcode encode mode
Pdf417ErrorLevelpdf417 barcode’s error correction level, from level 0 to level 9, level 0 means no error correction, level 9 means best
Pdf417MacroTerminatorUsed to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PD
QREncodeModeEncoding mode for QR barcodes. This sample shows how to use FNC1 second position in Extended Mode. This sample shows how
QREncodeTypeQR / MicroQR selector mode. Select FORCE_QR for standard QR symbols, AUTO for MicroQR. FORCE_MICRO_QR is used for strong
QRErrorLevelLevel of Reed-Solomon error correction. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H.
QRVersionVersion of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr.
RectMicroQRVersionVersion of RectMicroQR Code. From version R7x43 to version R17x139.
SvgColorModePossible modes for filling color in svg file, RGB is default and supported by SVG 1.1. RGBA, HSL, HSLA is allowed in SVG
TextAlignmentText alignment.
TwoDComponentTypeType of 2D component This sample shows how to create and save a GS1 Composite Bar image. Note that 1D codetext and 2D co