GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - AndroThink/WPFBarCode: Helps in dealing with barcode reader devices for WPF projects.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
AndroThink.Barcode.WPF
AndroThink.Barcode.WPF
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

WPFBarCode Nuget

Help in dealing with the barcode readers in your wpf application

How to use

In Your Control

var BarCodeReader = BarCoder.BarCodeReader.GetDefaultReader()
                            .WithPrefix(System.Windows.Input.Key.F12) // Configuration for the reader device for the prefix key
                            .WithSuffix(System.Windows.Input.Key.Enter)  // Configuration for the reader device for the suffix key
                            // To listen on specific input element
                            .WithUIElement(this, false, (result) =>
                            {
                                string code = result.Barcode;
                            })
                            // To notify the control using an event
                            .WithEvent(viewModel.DocumentId, viewModel.DocumentId.ToString(), new BarCoder.BaseBarCodeEvent((result) =>
                            {
                                string code = result.Barcode;
                                viewModel.OnBarcodeCallBack?.Invoke(code);
                            })).NotifyOnlyActiveEvent() // if you want to notify the ui using only the event you register
                            .SetCurrentActiveEvent(viewModel.DocumentId); // determin the current active window/page by setting a unique identifier for it this id will be with the event result

BarCodeReader.StartListen(); // start listen
....
BarCodeReader.StopListen(); // stop listen

About

Helps in dealing with barcode reader devices for WPF projects.

Resources

Readme
Apache-2.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.