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

Free Support Forum - aspose.com

Generate PDF417 Barcode without Text

Hi


Is it possible to create a PDF417 barcode without the text below it? I’ve tried setting the CaptionBelow.Visible property, but it doesn’t seem to work. Is there something else I’m missing?

Many thanks

Hi Ross,


Thank you for considering Aspose.

To remove the CodeText from the generated barcode label, please set the BarCodeBuilder.CodeLocation to None. Check below code snippet for your reference,

C#
BarCodeBuilder builder = new BarCodeBuilder();
builder.SymbologyType = Symbology.Pdf417;
builder.CodeText = “AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz”;
builder.CodeLocation = CodeLocation.None;
builder.Save(“output.png”, BarCodeImageFormat.Png);

Try it at your end and feed us back with your results.

Thank you very much - worked perfectly.