dLSoft  barcode & labelling software     

dBarcode SL components for Windows Phone 7

A range of class DLLs designed for creating barcodes in Windows Phone 7 projects using SilverLight and C# or VB.

dBarcode.SL Components for Windows Phone 7 are components for SilverLight that allow barcode images to be created within the developer’s own Windows Phone 7 application. A barcode image may be displayed on screen or a “pattern string” used by the developer to draw the bars. See our dBarcode WP Windows Phone App (which is based on the dBarcode SL Dual component) on Windows Phone Marketplace.

For Windows CE and Windows Mobile 6 components see dBarcode CE

Images taken from the Windows Phone 7
emulator of Visual Studio 2010
QR Code barcodes on Windows Phone            Datamatrix barcodes on Windows Phone 7              Barcodes on Windows Phone 7

Displaying a barcode on a page

A barcode may be displayed on a page by placing a empty Image on the page at the position the barcode is required.Then the component is provided with the relevant data, and the Barcode(rec) method called using the a rectangle the size of the empty Image as the only parameter. A bitmap image is returned and may be used to as the Source for the Image.

For example:

private void DoBarcode() C#
{
    int left,top,height,width;
    // set these to specify position of barcode
    ....
    Rect rec;
    wp.CodeTypeValue=0;
    wp.Caption="1234";
    rec=new Rect(left, top,width,height
    WriteableBitmap bm=wp.Barcode(rec);
    if (bm==null)
            image1.source=null;
    else {
            image1.Width=wp.ImageWidth;
            image1.Height=wp.ImageHeight;
            image1.source=bm;
    }
}

All components allow the barcode image to be created either by filling the size of the rectangle specified, or by specifying a size in pixels for the smallest element.

Products available:

These components require Visual Studio 2010 and the Windows Phone developer toolkit for building products.

* The 1D Universal component supports Code 39, Code 93, Code 128, EAN-8, EAN-13, EAN/UCC-14, GS1/EAN/UCC-128, Codabar, Standard 2 of 5, Interleaved 2 of 5, Matrix 2 of 5, ISBN, ISSN, ISMN, MSI, Plessey, SSCC, Telepen, UPC-A, UPC-E and the linear variants of GS1-Databar, Australia Post, China Post, Deutschepost, Italia Post, Fourstate, Infomail Barcode A, Intelligent Mail, Japan Post, Korean PA, Planet, Postnet and RM4CC.

** The QR component does not support Kanji mode symbols.

Each product includes a sample project with source code C#. Compilation of the sample projects requires Microsoft Visual Studio 2010 or later and the Windows Phone Developer SDK available from the Microsoft Developer App Hub. The sample projects may be tested on a Windows Phone emulator or on a developer-unlocked Windows Phone.

To download a package containing trial versions click here.

Licensing

These products are available only as developers products; they are not designed for end users.

Licences are available only after developer has used a testware version and is satisfied that the product is suitable for the intended purpose and target platform.

dLSoft is unable to support specific Windows Phone devices.