I have generated Code 128 barcode using libraries but when I resize them manually from c# it doesn't scan.
I had generated the same value Code 128 in bartender software, I resized and printed it. My scanner scans it perfectly.
I need some help on how do I resize it properly. I tried cloning the libraries and changing the bar width property but couldn't succeed.

First of all install GenCode128 nuget from nuget package manager and then use the below namespaces and code to generate barcode
second parameter in the below code line defines the size of barcode which you can change as per your barcode size requirement.