Friday 15 April 2011

c# - Convert Encode string value to PDF-417 barcode in Windows 8 application? -


I am trying to convert string value to pdf-417 barcode format, which is used in windows 8 application by juxxing Is using. Currently I'm just able to write code below, how can I put bitmatics in image source?

  int width = 115; Int height = 65; PDF417 Author Author = New PDF417Writer (); Bitmatrix bitIMG = N = author. Ncod (value, barcode format. Pdf_417, width, height); Writeable bitmap imgBitmap = bitIMGNew.ToBitmap ();   

How can I get this? Or do I need to use any other DLL?

To generate PDF 417 code from some content with Zaxing. Net you should try the following snippet:

  var author = new bar coder (format = barcode format.PDF_417, option = new encoding option {width = 115, height = 65}}; var imgBitmap = Author.Write (value);   

imgBitmap is an example of WriteableBitmap which in my opinion is your image source.

No comments:

Post a Comment