Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barcoder.WPF

WPF Component for Library Barcoder NuGet Status

Install

Install NuGet-Package Barcoder.WPF NuGet Status

Install-Package Barcoder.WPF

Supported Barcode Types:

  • Code128
  • Code 39
  • DataMatrix (ECC 200)
  • QR Code
  • EAN 8
  • EAN 13
  • 2 of 5
  • Codabar
  • Code 93

Usage - WPF Control

Add resource to the file App.xaml:

<ResourceDictionary Source="pack://application:,,,/Barcoder.WPF;component/Theme.xaml" />

Example MainWindow:

<Window x:Class="Barcoder.WPF.Demo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Barcoder.WPF.Demo"
        xmlns:c="clr-namespace:Barcoder.WPF;assembly=Barcoder.WPF"
        mc:Ignorable="d" Title="MainWindow" Height="250" Width="500">
    <StackPanel Orientation="Horizontal">
        <c:Code128 Value="" ModuleWidth="1" ModuleHeight="50" Foreground="Red" IncludeChecksum="True" HorizontalAlignment="Center" Rotation="Rotate90" Margin="10" />
        <c:Code128 Value="1234" ModuleWidth="1" ModuleHeight="50" Foreground="Red" IncludeChecksum="True" HorizontalAlignment="Center" Rotation="Rotate0" Margin="10" />
        <c:Code39 Value="1234" ModuleWidth="2" ModuleHeight="50" Foreground="Black" Rotation="Rotate90" WideToNarrowBarWidthRatio="3" IncludeChecksum="False" Margin="10" />
        <c:DataMatrix Value="1234599" ModuleSize="8" Foreground="Green" FixedRowCount="18" Margin="10" />
        <c:QRCode Value="123Abc" ModuleSize="5"  Margin="10" />
    </StackPanel>
</Window>

About

WPF Component for Library Barcoder

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages