How to set the data numbers invisible for bar code

Hi, Support:

Is there any method or property for setting a bar code with its data number invisible?
for example:
the first bar code image is not expected, whereas the second is the right one!

thanks for your help.
Figure 1:
1.jpg (18.4 KB)

Figure 2:
2.jpg (8.9 KB)

@ducaisoft,

I think you need to hide code text. It is very easy to do it using the line of code.

barcodeGenerator.Parameters.Barcode.CodeTextParameters.Location = CodeLocation.None;

Moreover, see the document with example code for your reference.
https://docs.aspose.com/barcode/net/set-barcode-text/#set-text-visibility

Thanks! That’s right!

@ducaisoft,

You are welcome. Please feel free to write us back if you have further queries or comments.