Barcode Generator demonstration.
Silverlight component Barcode.xap supports the following formats:
- Codabar
- Interleaved 2 of 5
- Code 39
- Code 128
Please note that control skips invalid characters in input string. The most optimal
for barcode readers BarcodeSize parameter is 26 or higher.
You can download assembly and source code for it at
Downloads page.
The control integration is simple. Just use the following template in your Xaml
with xmlns:barcode="clr-namespace:Elisy.Barcode;assembly=Elisy.Barcode" declaration:
<TextBlock Text="Codabar"/>
<barcode:Barcode Source="/312/57-55-68" BarcodeSize="26" LabelSize="8" Type="Codabar"/>
<TextBlock Text="Interleaved2of5"/>
<barcode:Barcode Source="01011980" BarcodeSize="26" LabelSize="8" Type="Interleaved2of5"/>
<TextBlock Text="Code39"/>
<barcode:Barcode Source="Elisy.Barcode.dll" BarcodeSize="26" LabelSize="8" Type="Code39"/>
<TextBlock Text="Code128"/>
<barcode:Barcode Source="0123456789" BarcodeSize="26" LabelSize="8"
Type="Code128"/>
<TextBlock Text="Code128"/>
<barcode:Barcode Source="http://code.elisy.net" BarcodeSize="26" LabelSize="8" Type="Code128"/>
The Xaml will be rendered like this: