We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Generate PDF417 barcode without text with v22.3

How can I generate a PDF417 barcode without the text below the barcode with the new version 22.3 ?
I have seen the tip from March 2012 with the old libraries. But since around v19.x this way does not work any more.


See the sample code segment for your reference:
Sample code:

Aspose.BarCode.Generation.BarcodeGenerator gen = new Aspose.BarCode.Generation.BarcodeGenerator(Aspose.BarCode.Generation.EncodeTypes.Pdf417, "Åspóse.Barcóde©");
gen.Parameters.Barcode.Pdf417.Rows = 12;
gen.Parameters.Barcode.XDimension.Pixels = 2;
//hide codetext
gen.Parameters.Barcode.CodeTextParameters.Location = Aspose.BarCode.Generation.CodeLocation.None);

Also, see the document on Managing Barcode Text for your reference.