Link Search Menu Expand Document

How can I generate round barcode dots in QRCode, DataMatrix, and Aztec?

Here’s a sample code to generate round barcode dots in QRCode:

Barcode barcode = new Barcode("demo", "demo");
barcode.Symbology = SymbologyType.QRCode;
barcode.SmoothingMode = SmoothingMode.HighQuality;

barcode.NarrowBarWidth = 10; // dot size
barcode.RoundDots = true; // enable round dots
barcode.RoundDotsScale = 90; // set dot scale to 90% of the dot size ('NarrowBarWidth')

barcode.Value = "QWEASD123456";