How To Create a Silverlight Barcode Photo ID Card Editor
Product Barcode Professional for Silverlight Published 04/07/2010 Updated 04/07/2010
Requirements
Neodynamic Barcode Professional for Silverlight (any version)
Silverlight 4 or greater
Microsoft Visual Studio 2010
Microsoft Visual Basic 2010 Express Edition
Microsoft Visual C# 2010 Express Edition
This sample demo code illustrates how easily you can use Barcode Professional in Silverlight Applications for creating a simple Photo ID Card Editor. Barcode Professional for Silverlight supports most popular linear (1D), Postal and 2D barcodes and in this sample application we selected the well known Code 39 (a.k.a. Code 3 of 9) with justify text alignment (a feature exclusive built-in Barcode Professional for Silverlight) as well as a 2D/stacked symbology called PDF417 for encoding a considerable amount of data not supported in linear barcodes.
The following sample demo code features:
- A simple Silverlight Application which will allow the user to upload a photo file (JPEG or PNG) to be displayed in the Photo ID card.
- Allows the user to enter a name as well as a ID code which will be encoded as a Code 39 barcode using Neodynamic Barcode Professional for Silverlight.
- Allows the user to change the front/back side of the card with a simple animation (FlipPanel custom control created by Matthew MacDonald author of "Pro Silverlight 3 in C#" and "Pro Silverlight 3 in VB" books). In the back side of the card user can enter more info which is encoded as a PDF417 barcode using Neodynamic Barcode Professional for Silverlight.
A simple Silverlight Barcode Photo ID Card Editor using Barcode Professional for Silverlight
Sample Files Download
Here are the VB.NET and C# versions of this sample. Please download the zip file and extract it.
- For Visual Basic.NET: SilverlightBarcodePhotoIdCardVB.zip (481 KB)
- For Visual C#.NET: SilverlightBarcodePhotoIdCardCS.zip (472 KB)
Remember to download and install Barcode Professional for Silverlight in order to reproduce this sample demo.
Need help? Contact Support
We provide best-in-class customer service and support directly from members of our dev team! If we are available when you contact us, you will get a response in few minutes; otherwise the maximum turnaround is 24hs in most cases.