Click here to Skip to main content
15,867,453 members

Comments by varun150 (Top 66 by date)

varun150 17-Oct-16 0:43am View    
this is very old question but thankyou for answering as it gives a nice alternative way.,
varun150 11-Jan-16 7:22am View    
L = (11 * C + 35) * X
where:
L = Overall length (not including Quiet Space)
C = Number of DATA characters (not including START, CHECK, or STOP)
X = length of x-dimension

Example: Code128 -> C = 7, X = 0.010"
L = (11 * 7 + 35) * 0.010” = 1.120” without Quiet Zones
or 1.120” + 2 * Max(10 * 0.010”, 0.25”) = 1.370” with Quiet Zones

Example: Code128Barcode -> C = 14, X = 0.010"
L = (11 * 14 + 35) * 0.010” = 1.890” without Quiet Zones
or 1.890” + 2 * Max(10 * 0.010”, 0.25”) = 2.140” with Quiet Zones
http://www.precisionid.com/code128-barcode-faq.aspx

according to this formula we can set barwidth to 0.010 but problem is how to draw an image out of it
it takes all integer values to draw a rectagular bar .
Grafics.DrawRectangle()
https://msdn.microsoft.com/en-us/library/system.drawing.graphics.fillrectangle(v=vs.110).aspx


this software gives flexibility to adjust width like i want
http://www.barcodemaking.com/

it lets you reduce width by specifying width in mills. or pixels ,i want something like that.
varun150 11-Jan-16 0:16am View    
i used 'zxing.net' to draw barcode
http://zxingnet.codeplex.com/
but it makes 15 character string 134 pixel wide,apart of zxing i found no library which can draw barcode in vary small width(90-100 pixel 15 chars).

mostly online library has parameters for barcode height,bar weight,margin
i have no clue how to contain it in less width.
varun150 24-Apr-15 5:55am View    
i found it myself.
Click add remove buttons -> Customize ->Add tool bar -> Check text Editor check box.
problem was i didn't knew what this toolbar called.
somebody told me to enable it from view menu but in view menu text editor was already enabled.
varun150 23-Apr-15 21:23pm View    
http://www.skorkin.com/files/2012/05/VisualStudioTextEditorBookmarsToolbar.png

look at the image above i want this toolbar in visulal studio 2012.