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

Free Support Forum - aspose.com

Water mark appearing under the PDF417 barcode image

Dear Concern,

I set the license for barcode product family .
But water mark caption steel appearing under the barcode image.
please see the attached file.
How can i hide caption below the barcode image ?
Code below .
private Bitmap GenerateAsposePdf417Barcode(byte[] dataBytes)
Aspose.BarCode.License lic = new Aspose.BarCode.License();
if (!lic.IsLicensed)

Bitmap bmp;
using (Aspose.BarCode.BarCodeBuilder objBcB = new Aspose.BarCode.BarCodeBuilder())
objBcB.EncodeType = Aspose.BarCode.Generation.EncodeTypes.Pdf417;
objBcB.Pdf417CompactionMode = Aspose.BarCode.Pdf417CompactionMode.Binary;
objBcB.FilledBars = true;
objBcB.Resolution = new Aspose.BarCode.Resolution(300, 300, Aspose.BarCode.ResolutionMode.Graphics);
objBcB.xDimension = 0.175f;
objBcB.yDimension =0.525f;
objBcB.Pdf417Truncate = false;
objBcB.AspectRatio = 3;
objBcB.CaptionBelow.Text = “”;
objBcB.CaptionBelow.Visible = false;
objBcB.CaptionAbove.Visible = false;
objBcB.Margins.Top = 0;
objBcB.Margins.Bottom = 0;
objBcB.Margins.Left = 0;
objBcB.Margins.Right = 0;
objBcB.Columns = 16;
objBcB.Rows = 40;
objBcB.Pdf417ErrorLevel = Aspose.BarCode.Pdf417ErrorLevel.Level5;
bmp = objBcB.GenerateBarCodeImage();
return bmp;



Thank you for your inquiry and sharing sample.

We have investigated the issue at our end. We are able to generate the barcode successfully without water mark after setting the license. Please make sure that the license file is accessible and available on the path that you are providing in your code. Sample generated barcode is attached for your reference.

Furthermore you can hide the code text by using the following line of code in your program.

objBcB.CodeLocation = Aspose.BarCode.CodeLocation.None;