VintaSoft Barcode .NET SDK Discussions
Questions, comments and suggestions concerning VintaSoft Barcode .NET SDK.
Board index < VintaSoft Barcode < VintaSoft Barcode .NET SDK Discussions
I have one more question about Vintasoft barcodes writer :The Vintasoft.Barcode.WriterSettings.SetMinWidth method allows to specify the desired width of bar. The method allows to specify the desired width in any unit of measure but the resulting value is stored as integer value and represents the bar width in pixels.
If I create a barcode 128 with :
SetMinWidth(0.375,MeasurementUnit.Millimeters);
the value of MinWidth property is 2 px
If I create a barcode 128 with :
SetMinWidth(0.7,MeasurementUnit.Millimeters);
the value of MinWidth property is the same (2 px)
I thought that the MinWidth value was going to change when I change the value used in SetMinWidth().
Can you explain me why is the MinWidth value the same in both cases, and how can I make vary ?
barcodeWriterSettings.Resolution = 72; barcodeWriterSettings.SetMinWidth(0.375, MeasurementUnit.Millimeters); //barcodeWriterSettings.SetMinWidth(0.7, MeasurementUnit.Millimeters);Here is how algorithm works: