Imageman.Net Getting Started
Total Page:16
File Type:pdf, Size:1020Kb
ImageMan.Net Getting Started 1 ImageMan.Net Version 3 The ImageMan.Net product includes fully managed .Net components providing an easy to use, yet rich imaging toolkit. Fully Managed Assemblies support X-Copy deployment and do not use COM Support for reading/writing many image formats including TIFF, BMP, DIB, RLE, PCX, DCX, TGA, PCX, DCX, JPG, JPEG 2000, PNG, GIF, EMF, WMF, PDF(with optional PDF Export/Import Addon Options), even plug in your own image codecs Object oriented architecture simplifies development. High level functionality allows for quick development while low level classes provide ultimate control Works with the ImageMan.Net Twain controls to easily scan from Twain compatible scanners, cameras and frame grabbers Winforms Viewer, File Open, Thumbnail Viewer, Annotation and Annotation Toolstrip controls Barcode creation and recognition support for 1-d and 2-d barcodes symbologies including QR, Datamatrix, 3 of 9, Codabar, PDF417, Code 3 of 9, Code 3 of 9 Extended, Code 93, EAN-8, EAN-13, UPC-A, UPC-E, Aztec, Interleaved 2 of 5, Codabar and more Document Edition includes royalty free OCR, Annotations and document processing commands including despeckle, border removal, border cleanup and more Supports building client side Winforms and ASP.Net server side applications 32 & 64 bit assemblies for .Net 2.0, .Net 3.x and 4.x Support for Visual Studio 2005, 2008, 2010, 2012 and 2013 Context Sensitive Online Help and Documentation Backed up by Data Techniques professional support staff 1 ImageMan.Net Getting Started ImageMan.Net Getting Started 2 What's New in Version 3 What's new in the Summer Release PDFEncoder & OCR Engine Enhanced the Searchable PDF Support by assuring that the searchable text lines up with the raster image content. This requires assigning the OcrInfo ('OcrInfo Property' in the on-line documentation) property from the Ocr Engine class to the OcrInfo ('OcrInfo Property' in the on-line documentation) property of the PdfEncoder when saving images. Thumbnail Control Added option to display checkboxes with each thumbnail via the DisplayCheckBox ('DisplayCheckBox Property' in the on-line documentation) property, added the ThumbCheckedChanged ('ThumbCheckChanged Event' in the on-line documentation) event and the Checked ('Checked Property' in the on-line documentation) property to the Thumbnail class. Added the ThumbBorderColor ('ThumbBorderColor Property' in the on-line documentation) property to allow the developer to set the Thumbnail border color. Added the ScrollToThumb ('ScrollToThumb Method' in the on-line documentation) method to allow code to scroll a given thumbnail into view. Added Drag and Drop Thumbnail support via the AllowDragDrop ('AllowDragDrop Property' in the on-line documentation) property and the ThumbDragged ('ThumbDragged Event' in the on-line documentation) event. Annotation Control Added the AllowSelect ('AllowSelect Property' in the on-line documentation) property to the annotation control to allow developers to disable the ability of users to select annotations via the mouse. Added the ToolDefaultsToSelect ('ToolDefaultsToSelect Property' in the on-line documentation) property to control if the Current tool reverts back to the select tool after creating a new annotation or if the tool remains the same allowing users to create multiple annotations of the same type without having to reselect the tool. Viewer Control Added the MouseWheelScrollDelta ('MouseWheelScrollDelta Property' in the on-line documentation) property to specify the scroll distance when the user uses the MouseWheel to scroll an image. Barcode Creation and Recognition Support Addon The Barcode Support (Section 13.18) Addon provides support for creating and reading barcodes in a variety of common 1d and 2d symbologies. The Addon is available for an additional cost for both the Standard and Document editions of ImageMan.Net. Misc bug fixes and some performance enhancements in various Encoders and Decoders New Features in all Version 3.0 ImageMan.Net editions 2 ImageMan.Net Getting Started ImageMan.Net Getting Started 32 and 64 bit assemblies for .Net 2.0 and .Net 4.0 frameworks Support for reading and writing EXIF data including GPS tags from JPG files Misc enhancements to the Viewer and ThumbnailViewer controls Performance enhancements to the PdfDecoder class Important Changes from previous Versions 1. The PDFDecoder class is now located in the DTI.ImageMan.Codecs.Pdf assembly instead of the base codecs assembly. This means you will need to explicitly reference this assembly in your solution and add it to your installer if you use the PDFDecoder class. This assembly only needs to be referenced and deployed if you have licensed the optional PDF Import Add On support for ImageMan.Net. 2. The PDFEncoder and PDFDecoder classes are now no longer automatically included in the RegisteredDecoders and RegisteredEncoders collections. If you have licensed the PDF Import or Export support your application will need to add an instance of each object to the respective collection when your application starts up. Adding the PdfEncoder and PdfDecoders in C# // Add the Pdf Codecs in the initialization code for your application DTI.ImageMan.RegisteredEncoders.Encoders.Add( new PdfEncoder() ); DTI.ImageMan.RegisteredDecoders.Decoders.Add( new PdfDecoder() ); Adding the PdfEncoder and PdfDecoders in VB.Net ' Add the Pdf Codecs in the initialization code for your application DTI.ImageMan.RegisteredEncoders.Encoders.Add(New PdfEncoder()) DTI.ImageMan.RegisteredDecoders.Decoders.Add(New PdfDecoder()) 3 ImageMan.Net Getting Started ImageMan.Net Getting Started 3 What's Installed After running the ImageMan.Net component installer you'll find the following items installed on your machine: Sample Applications and Source Code Complete samples in both C# and VB.Net are provided for Visual Studio Versions 2005, 2008 and 2010. The samples are installed in the \My Documents\Data Techniques\ImageMan.Net V3 directory. Shortcuts to the solutions are installed in the start menu under ImageMan.Net V 3. Online Help Help is provided in several formats depending on which versions of Visual Studio are installed. The latest Help is also available online from our website at http://www.data-tech.com/help/imnet/webframe.html. Shortcuts to the installed help files are provided in the start menu as well as being integrated into the Visual Studio help systems. Ready to Run Samples Prebuilt versions of our sample applications are available in the Program files\ImageMan.Net V3\binaries directory and shortcuts are available from the start menu. ImageMan.Net Assemblies The installer has copied the ImageMan.Net assemblies into the Global Assembly Cache (GAC) as well as into the Program Files\ImageMan.Net V3\net40 and net20 directories. See the Deploying your Applications (Section 6) topic for information on how to best deploy your ImageMan.Net application. 4 ImageMan.Net Getting Started ImageMan.Net Getting Started 4 Using the Trial Edition The trial edition of the ImageMan.Net toolkit is fully functional and includes controls with a 60 day trial limit and a watermark added to processed images. After the 60 day trial period the controls will no longer instantiate and will display a trial expired dialog. At that time you may register the controls by entering your registration code you received when your order was processed. Upon registration, the time limit and watermark will be removed. Should you have any questions during the trial period please let us know at [email protected] or by calling us at 800-955-8015 or 828-682-4111 (9-5 ET). 5 ImageMan.Net Getting Started ImageMan.Net Getting Started 5 Product Versions The ImageMan.Net components are available in two versions. The base ImageMan.Net toolkit includes our core imaging functionality and is ideal for applications with general imaging needs while the ImageMan.Net Document Edition targets developers building document management applications. The ImageMan.Net components installation includes both versions which are unlocked by entering an appropriate registration code. The ImageMan.Net Document Edition includes all the functionality of the ImageMan.Net components plus: Royalty Free OCR based on the award winning Tesseract OCR engine developed by Hewlett Packard Annotation support including the ability to read and write annotations in the Wang annotation format Document oriented image processing commands such as Border Removal, Blank Page Detection, Despeckle and more Ability to write searchable PDF/A files using the optional PDF Export Addon Optional Addons PDF Import and Export Addons The optional PDF Import and Export Addons allow ImageMan.Net to read and write PDF files. Trial versions which add a watermark to the loaded and saved pages are included with the ImageMan.Net install. Barcode Reader and Writer Addon The Barcode Addon provides support for creating and reading barcodes in a variety of common 1d and 2d symbologies. The Addon is available for an additional cost for both the Standard and Document editions of ImageMan.Net. The ImageMan.Net Barcode support can recgnize 1-d barcodes in the following formats: Codabar (Section 14.1.2) Code 128 (Section 14.1.4), A/B/C Code 39 (Section 14.1.5), Code 39 Extended (Section 14.1.5) Code 93 (Section 14.1.6) Ean-8, EAN-13 (Section 14.1.8) Interleaved 2 of 5 (Section 14.1.10) ITF-14 (Section 14.1.12) Standard 2 of 5 (Section 14.1.18) UPC A, UPC E (Section 14.1.20) UPC 2 Digit Ext (Section 14.1.20) UPC 5 Digit Ext (Section 14.1.20) Supported 2-d barcode formats