In This Topic
Overview
Here is the overview of WPF sample projects provided within the SDK installation package in C# language. The samples included can be used to learn how to put things into motion or to try certain features. They can also be used as a solid starting point to experiment or implement a new solution.
Annotations Sample
The Annotations demo includes both the Document Viewer demo as well as the ability to annotate your documents (images and PDF documents), save your annotations to the different types of files or as XMP, burn them onto the files, or load them from XMP to your displayed file. The demo offers a comprehensive solution for document viewing and annotations support completed with bookmarks and thumbnails features.
Barcode Recognition Sample
This demo illustrates how to recognize barcodes in PDF documents and image files. Support for 1D (with its various types) barcodes, 2D Datamatrix, QR-Code, Micro QR-CODe, PDF 417, and Patch Code is available. It also demonstrates how to retrieve the barcode's location and draw a rectangle around it.
Binarization Sample
Since binarization (thresholding) is a pillar of the document image processing, we decided to dedicate a separate demo for this feature. Here you can choose one of a verity of thresholding algorithms, from the simple one like Linear, as well as the most known dithering algorithms like Ordered-Dither, Stucki, Burke, and FloydStienberg. Finally, we also included some of the most complex like Otsu and Sauvola. You can choose the algorithm that best fits your needs.
DICOM Viewer Sample
The DICOM Viewer demo is aimed at showing you how easy it is to view DICOM files along with their tags using GdPicture.NET. You can view DICOM series, animate, and perform Window Leveling on those images.
Displaying From URL Sample
This demo illustrates how to use the GdViewer to display documents and images from an URL source. A progress bar is available for the download process.
Document Viewer Sample
This demo aims at showing you how to use GdPicture.NET to view supported files, images, PDF documents, and how to create thumbnails for them. Besides that the demo points to many other features, like how to print displayed documents, how to gather various information about PDF document, or how to search PDF document's content. Zooming, rotation, selection, magnifying and page navigation are only a few of the features available in this invaluable demo.
Forms Processing and OMR Sample
Since OMR , Anchoring, and Forms Processing are not trivial tasks, we decided to include separate demos here to explain all about these features.
OMR Sample illustrates how to call the OMR detection functions of GdPicture.NET. The functions are bound to the mouse in the demo, where you can make a rectangular selection around the field, and the result of whether the field is filled or not will pop up in a message box. You can choose either box-circular shaped field, or an oval shaped one.
Anchor Sample finds anchors in filled forms. You start by choosing your anchor on your template image via mouse, as well as the size of the search area.
Load your scanned forms, and detect the location of the anchors by pressing a button.
MICR Sample
The MICR demo is an illustration of how to use our powerful and fast research labs product - the MICR reader. Choose your image, white list, minimum confidence, context and expected items very easily, and the really fast recognition is only with one click. Auto de-skew and rotation are available for badly scanned checks.
Pages Manipulation Sample
This demo is very similar to the Document Viewer demo, with the added capabilities of deleting pages from multipage TIFF and PDF files, as well as changing the order and the position of the pages.
Rotating By Angle (images) Sample
In this sample you can rotate your images using a scrollbar. You can either rotate normally, rotate with a color filling the generated background, rotate with dimensions preservation, or rotate at the centre with dimensions preservation.
Thumbnail Drag and Drop Sample
This demo shows you the use of GdPicture.NET Thumbnail controls, and you can add items from one to another control by drag-and-drop the mouse. You are able to very simple and easy reproduce the behaviour in your applications by following the code.
Twain Scanning - Asynchronous Sample
This demo illustrates how to use GdPicture.NET to control your scanners using the TWAIN acquisition protocol. It gives you the ability to select your scanning source and setup your source options. The sample executes the whole process asynchronously.