Hi,
In enum Aspose.BarCode.Symbology only have Code128 but I need Code 128C, how can I do so? thanks.
Cheers
Mark
Hi Mark,
Thank you for your inquiry.
This is to update you that the feature that you are looking for is not available. The feature request has been logged into our system with ID BARCODENET-36297. Our product team will look into it. we will update you with the progress via this forum thread.
Hi Mark,
This is to update you that feature to generate the Code128C coded barcode is already present. It is implemented in such a way that when we provide the barcode text, the API decides on the input string and generates appropriate Code128 barcode. The following is the code snippet that describes how to generate the Code128A, Code128B, Code128C based on the barcode text provided.
CODE:
BarCodeBuilder bb = new BarCodeBuilder ("0123456789", Symbology.Code128);
// Save the image
bb.Save (@"Barcode_Issue36297_Code128C.png");
bb = new BarCodeBuilder ("AAA0123456789zzzzz", Symbology.Code128);
// Save the image
bb.Save (@"Barcode_Issue36297_Code128B.png");
bb = new BarCodeBuilder (@"AAA\t\r\n0123456789\t\r\nZZZ", Symbology.Code128);
// Save the image
bb.Save (@"Barcode_Issue36297_Code128A.png");
bb.Save (@"Barcode_Issue36297_Code128C.png");
bb = new BarCodeBuilder ("AAA0123456789zzzzz", Symbology.Code128);
// Save the image
bb.Save (@"Barcode_Issue36297_Code128B.png");
bb = new BarCodeBuilder (@"AAA\t\r\n0123456789\t\r\nZZZ", Symbology.Code128);
// Save the image
bb.Save (@"Barcode_Issue36297_Code128A.png");
how i can generate barcode 128C in 19.7 reléase?
Thanks for your query.
See the sample code segment for your reference:
e.g
Sample code:
using (Aspose.BarCode.Generation.BarcodeGenerator generator = new Aspose.BarCode.Generation.BarcodeGenerator(Aspose.BarCode.Generation.EncodeTypes.Code128, "0123456789"))
{
generator.Save("e:\\test2\\out1.png", BarCodeImageFormat.Png);
}
Hope, this helps a bit.