LEAD Technologies, Inc

Leadtools.Forms.Ocr Assembly Changes

Version 17.5 changes

Version 17 changes

Version 16.5 changes

Version 16 changes

Leadtools.Forms.Ocr Assembly Changes from Version 17 to Version 17.5

New Library

WinRT support - LEADTOOLS V17.5 adds WinRT support for LEADTOOLS Forms OCR with the new LEADTOOLS WinRT SDK. The LEADTOOLS WinRT SDK contains everything a developer needs to create imaging-enabled Windows Store applications. It is available as an add-on to any of the Document or Medical products.

The following Library has been added to LEADTOOLS v17.5:

Assemblies Metadata Comments
Leadtools.Forms.Ocr.DLL Leadtools.Forms.Ocr.winmd Provides classes to recognize text and magnetic ink characters in images and save recognition results to several different kinds of output formats.

New Types

The following types have been added in v17.5:

Type Description
Leadtools.Forms.Ocr.OcrComponentMissingException

The exception that is thrown when trying to use an OCR feature supported but not installed.

Leadtools.Forms.Ocr.OcrSpellCheckEngine OCR spell checker type

New Members

The following members have been added to existing types in v17.5:

Member Description
Leadtools.Forms.Ocr.IOcrLanguageManager.DetectLanguage

Detects the language used in the specified IOcrPage from a list of languages that is provided by the user.

Leadtools.Forms.Ocr.IOcrPageCharacters.UpdateWord(System.Collections.Generic.IList{Leadtools.Forms.Ocr.OcrWord},System.Int32,System.Int32,System.String)

Updates or deletes a word in the recognized words list.

Leadtools.Forms.Ocr.IOcrDocumentManager.GetSupportedEngineFormats

Gets a list of the engine native formats supported by this Leadtools.Forms.Ocr.IOcrEngine.

Leadtools.Forms.Ocr.IOcrDocumentManager.GetAdditionalEngineFormats

Gets a list of the engine native formats supported by this Leadtools.Forms.Ocr.IOcrEngine but not installed.

Leadtools.Forms.Ocr.IOcrSpellCheckManager.GetSupportedSpellCheckEngines

Gets a list of the spell checker supported by this OCR engine type.

Leadtools.Forms.Ocr.IOcrSpellCheckManager.IsSpellCheckEngineSupported(Leadtools.Forms.Ocr.OcrSpellCheckEngine)

Checks if a certain spell checker is supported this OCR engine.

Leadtools.Forms.Ocr.IOcrSpellCheckManager.GetAdditionalSpellLanguages

Gets the additional languages supported by the current spell checker but not installed.

Leadtools.Forms.Ocr.IOcrSpellCheckManager.SpellCheckEngine

Gets or sets the current spell checker.

Leadtools.Forms.Ocr.OcrCharacter.Language1

Gets or sets the first language which the recognized word belongs to.

Leadtools.Forms.Ocr.OcrCharacter.Language2

Gets or sets the second language which the recognized word belongs to.

Removed Types

The following Types have been removed in v17.5:

Types Description
Leadtools.Forms.Ocr.OcrSpellCheckOpinion

Obsolete functionality removed

Leadtools.Forms.Ocr.OcrSpellCheckCallback

Obsolete functionality removed

Leadtools.Forms.Ocr.OcrUserDictionaryItemStyles

Obsolete functionality removed

Leadtools.Forms.Ocr.IOcrUserDictionary

Obsolete functionality removed

Leadtools.Forms.Ocr.OcrLanguageGroup

Obsolete functionality removed

Leadtools.Forms.Ocr.IOcrUserDictionaryItem

Obsolete functionality removed

Removed Members

The following members have been removed from existing types in v17.5:

Member Description
Leadtools.Forms.Ocr.IOcrDocumentManager.GetEngineSupportedFormats

Obsolete functionality removed

Leadtools.Forms.Ocr.IOcrSpellCheckManager.SetSpellCheckCallback(Leadtools.Forms.Ocr.OcrSpellCheckCallback)

Obsolete functionality removed

Leadtools.Forms.Ocr.IOcrLanguageManager.GetSupportedLanguageGroups

Obsolete functionality removed

Leadtools.Forms.Ocr.IOcrSpellCheckManager.GetSupportedSpellCheckEngines

Obsolete functionality removed

Leadtools.Forms.Ocr.IOcrLanguageManager.IsLanguageGroupSupported(Leadtools.Forms.Ocr.OcrLanguageGroup)

Obsolete functionality removed

Leadtools.Forms.Ocr.IOcrSpellCheckManager.Enabled

Obsolete functionality removed

Leadtools.Forms.Ocr.IOcrSpellCheckManager.UserDictionary

Obsolete functionality removed


Leadtools.Forms.Ocr Assembly Changes from Version 16.5 to Version 17

Note on LEADTOOLS for .NET v17

In LEADTOOLS for .NET v16.5, some assemblies had a dependency on System.Drawing. System.Drawing is the .NET 2.0 assembly used with the Windows Forms and GDI+ platforms. Since LEADTOOLS v17 treats Windows Forms, Windows Presentation Foundation (WPF) and Silverlight as equal citizens, certain types in this LEADTOOLS assembly has been changed to reflect that. For example, properties with System.Drawing.Point type have been changed to use the new Leadtools.LeadPoint type, methods with a parameter of System.Drawing.Rectangle type have been changed to use the new Leadtools.LeadRect type. The following table shows the old 16.5 and corresponding new v17 types:

Old v16.5 Type

New v17 Type

System.Drawing.Point

Leadtools.LeadPoint

System.Drawing.Size

Leadtools.LeadSize

System.Drawing.Rectangle

Leadtools.LeadRect

System.Drawing.Color

Leadtools.RasterColor

System.Drawing.Drawing2.FillMode

Leadtools.LeadFillMode

These changes are not listed in the topics below.

New Types

The following types have been added in v17:

Type Description
Leadtools.Forms.Ocr.OcrZoneCell

Information of a cell in a zone of type OcrZoneType.Table.

Leadtools.Forms.Ocr.OcrTablePointInformation

Cell index and the nearest border for a given point.

Leadtools.Forms.Ocr.OcrCellBorderDragLimit

Maximum and minimum movement allowed by a given cell border.

Leadtools.Forms.Ocr.IOcrTableZoneManager Object used to manipulate cells inside a table zone.
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobOperation Leadtools.Forms.Ocr.IOcrAutoRecognizeManager job operations.
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobStatus Indicates the job status.
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobError Contains information on an Leadtools.Forms.Ocr.IOcrAutoRecognizeManager job error.
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobErrorMode Indicates the value for the Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.JobErrorMode property.
Leadtools.Forms.Ocr.OcrAutoRecognizeJobProgressEventArgs Contains sata for the IOcrAutoRecognizeManager.JobProgress event.
Leadtools.Forms.Ocr.OcrAutoRecognizeJobData Defines the data used to create an OCR Auto Recognition job.
Leadtools.Forms.Ocr.IOcrAutoRecognizeJob Specifies an OCR job that can run and tracked by Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.
Leadtools.Forms.Ocr.OcrCellBorderLineStyle Indicates the line style of a cell border.
Leadtools.Forms.Ocr.OcrPageType Indicates the type of the page's Leadtools.RasterImage to get.
Leadtools.Forms.Ocr.OcrCellBorder

Indicates the cell border location

New Members

The following members have been added to existing types in v17:

Member Description
IOcrDocumentManager.GetFontNames

Gets the font names used in the final document.

IOcrDocumentManager.SetFontNames

Sets the font names used in the final document.

LeadRect IOcrPage.GetZoneBoundsInPixels(int zoneIndex)

Replaces RectangleF IOcrPage.GetZoneBoundsInPixels(int zoneIndex)

IOcrAutoRecognizeManager.MaximumPagesBeforeLtd Gets or sets a value that indicate the maximum number of pages to process before using LTD as a temporary format.
IOcrAutoRecognizeManager.PreprocessPageCommands Gets a list of the auto-preprocess commands to perform on each document page prior to recognition.
Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.Run(System.String,System.String,Leadtools.Forms.DocumentWriters.DocumentFormat,System.String,Leadtools.Forms.Ocr.OcrProgressCallback)

Converts an image file on disk to a document file in the specified document format with optional multi-page zone file.

Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.CreateJob(Leadtools.Forms.Ocr.OcrAutoRecognizeJobData)

Creates a new job.
Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.RunJob(Leadtools.Forms.Ocr.IOcrAutoRecognizeJob)

Runs a job.
Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.RunJobAsync(Leadtools.Forms.Ocr.IOcrAutoRecognizeJob)

Runs a job asynchronously.
Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.AbortAllJobs

Aborts all running and pending jobs.

Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.MaximumPagesBeforeLtd

Gets or sets a value that indicate the maximum number of pages to process before using LTD as a temporary format.

Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.PreprocessPageCommands

Gets a list of the auto-preprocess commands to perform on each document page prior to recognition.

Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.EnableTrace

Gets or sets a value that indicates whether this Leadtools.Forms.Ocr.IOcrAutoRecognizeManager should output debug messages to the standard .NET trace listeners.

Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.IsMultiThreadedSupported

Gets a value that indicates whether multi-threading is supported in this Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.

Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.MaximumThreadsPerJob

Gets or sets a value that indicates the maximum number of threads to use when recognizing a document.

Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.JobErrorMode

Gets or sets a value that indicates whether to abort or try to conintue running jobs when an error occur.

Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.JobProgress

Occurs when a job is being run to provide progress status and ability to abort.

Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.JobStarted

Occurs when a job is about to start.

Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.JobCompleted

Occurs when a job is completed or aborted.

Leadtools.Forms.Ocr.OcrZone.Cells

Gets or sets the detected cells of this zone if the zone type is OcrZoneType.Table.

Leadtools.Forms.Ocr.IOcrPage.GetRasterImage(Leadtools.Forms.Ocr.OcrPageType)

Gets the current or processing image data of this page as a raster image.

Leadtools.Forms.Ocr.IOcrPage.IsInverted

Gets a value that indicate whether this Leadtools.Forms.Ocr.IOcrPage is inverted.

Leadtools.Forms.Ocr.IOcrPage.LoadZones(System.String,System.Int32)

Load zones from a multi-page zones disk file.

Leadtools.Forms.Ocr.IOcrPage.LoadZones(System.IO.Stream,System.Int32)

Load zones from a multi-page zones .NET stream.

Leadtools.Forms.Ocr.IOcrPage.TableZoneManager

Gets the table zone manager associated with the zones of this page.

Leadtools.Forms.Ocr.IOcrDocument.LoadZones(System.String)

Load zones from a single-page zones disk file.

Leadtools.Forms.Ocr.IOcrDocument.LoadZones(System.IO.Stream)

Load zones from a single-page zones .NET stream.

Leadtools.Forms.Ocr.IOcrDocument.SaveZones(System.String)

Saves the zones of this Leadtools.Forms.Ocr.IOcrPage to a single-page zones disk file.

Leadtools.Forms.Ocr.IOcrDocument.SaveZones(System.IO.Stream)

Saves the zones of this Leadtools.Forms.Ocr.IOcrPage to a single-page zones .NET stream.

Leadtools.Forms.Ocr.IOcrDocument.UseEngineInstanceOptions

Gets or sets a value indicating whether this Leadtools.Forms.Ocr.IOcrDocument must copy the Leadtools.Codecs.RasterCodecs and Leadtools.Forms.DocumentWriters.DocumentWriter options from the Leadtools.Forms.Ocr.IOcrEngine before using them.

Leadtools.Forms.Ocr.IOcrDocument.RasterCodecsInstance

Gets the instance of the Leadtools.Codecs.RasterCodecs object being used inside this Leadtools.Forms.Ocr.IOcrDocument.

Leadtools.Forms.Ocr.IOcrDocument.DocumentWriterInstance

Gets the instance of the Leadtools.Forms.DocumentWriters.DocumentWriter object being used inside this Leadtools.Forms.Ocr.IOcrEngine.

Removed Types

The following types have been removed from v17:

Type Description

OcrDocumentFormat

Deprecated type removed.

Removed Members

The following members have been removed from v17:

Member Description

OcrDocumentFormat[] IOcrDocumentManager.GetSupportedFormats()

Deprecated member removed.

bool IOcrDocumentManager.IsFormatSupported(OcrDocumentFormat format)

Deprecated member removed.

String IOcrDocumentManager.GetFormatFileExtension(OcrDocumentFormat format)

Deprecated member removed.

String IOcrDocumentManager.GetFormatFriendlyName(OcrDocumentFormat format)

Deprecated member removed.

void IOcrEngine.Startup(RasterCodecs rasterCodecs, String workDirectory, String startupParameters)

Deprecated member removed.

void IOcrAutoRecognizeManager.Run(String imageFileName, String documentFileName, IList<String> zoneFileNames, OcrDocumentFormat documentFormat, OcrProgressCallback callback)

Deprecated member removed.

void IOcrDocument.Save(Stream stream, OcrDocumentFormat format, OcrProgressCallback callback)

Deprecated member removed.

void IOcrDocument.Save(String fileName, OcrDocumentFormat format, OcrProgressCallback callback)

Deprecated member removed.


Leadtools.Forms.Ocr Assembly Changes from Version 16 to Version 16.5

New Types

The following types have been added in v16.5:

Type Description
Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.Run Converts an image file on disk to a document file in the specified document format.
Leadtools.Forms.Ocr.IOcrZoneManager.OmrOptions Gets the OMR settings currently being used by the engine.
Leadtools.Forms.Ocr.IOcrEngine.EngineType Gets the type of this IOcrEngine.
Leadtools.Forms.Ocr.IOcrEngine.Startup Starts the OCR engine.
Leadtools.Forms.Ocr.IOcrEngine.DocumentWriterInstance Gets the instance of the DocumentWriters object being used inside this Leadtools.Forms.Ocr.IOcrEngine.
Leadtools.Forms.Ocr.IOcrOmrOptions The OMR settings currently used in the engine.
Leadtools.Forms.Ocr.IOcrOmrOptions.GetStateRecognitionCharacter Gets the character used to represent an OMR state in the output document.
Leadtools.Forms.Ocr.IOcrOmrOptions.GetStateRecognitionCharacter Sets the character used to represent an OMR state in the output document.
Leadtools.Forms.Ocr.IOcrOmrOptions.FrameDetectionMethod Gets or sets the OMR frame detection mode.
Leadtools.Forms.Ocr.IOcrOmrOptions.Sensitivity Gets or sets the OMR sensitivity mode.
Leadtools.Forms.Ocr.IOcrDocumentManager.GetEngineSupportedFormats Gets a list of the engine native formats supported by this IOcrEngine".
Leadtools.Forms.Ocr.IOcrDocumentManager.IsEngineFormatSupported Gets a value indicating whether the specified engine native format is supported by this IOcrEngine.
Leadtools.Forms.Ocr.IOcrDocumentManager.GetEngineFormatFileExtension Gets the default file extension for the specified engine native format.
Leadtools.Forms.Ocr.IOcrDocumentManager.GetEngineFormatFriendlyName Gets the friendly name of the specified engine native format. For example, Adobe PDF files will return something similar to "Adobe PDF" and Microsoft Word documents will return "Microsoft Word" and so forth.
Leadtools.Forms.Ocr.IOcrDocumentManager.EngineFormat Gets or sets the name of the engine native format to use when saving OCR documents.
Leadtools.Forms.Ocr.OcrOmrSensitivity The OMR sensitivity mode.
Leadtools.Forms.Ocr.IOcrDocument.Save(string, DocumentFormat, OcrProgressCallback) Converts the cumulated recognition result stored in the pages of this OCR document to the final output document and store it a disk file.
Leadtools.Forms.Ocr.IOcrDocument.Save(Stream, DocumentFormat, OcrProgressCallback) Converts the cumulated recognition result stored in the pages of this OCR document to the final output document and store it in a .NET stream.
Leadtools.Forms.Ocr.IOcrDocument.SaveXml(string, OcrXmlOutputOptions) Converts the cumulated recognition result stored in the pages of this OCR document to XML data and store it in a disk file.
Leadtools.Forms.Ocr.IOcrDocument.SaveXml(Stream, OcrXmlOutputOptions) Converts the cumulated recognition result stored in the pages of this OCR document to XML data and store it in a .NET stream.
Leadtools.Forms.Ocr.IOcrDocument.SaveXml(OcrXmlOutputOptions) Converts the cumulated recognition result stored in the pages of this OCR document and return it as XML data.
Leadtools.Forms.Ocr.IOcrLanguageManager.SupportsEnablingMultipleLanguages Gets a value to indicate whether this engine supports enabling multiple languages at the same time.

New Enumerations

The following enumerations have been added to existing types in v16.5:

Type Description
Leadtools.Forms.Ocr.OcrDocumentFormat.PdfAText Adobe PDF/A format with text only. Optimized for the long-term archiving of electronic documents and is based on the PDF Reference Version 1.4 from Adobe Systems Inc. (implemented in Adobe Acrobat 5)
Leadtools.Forms.Ocr.OcrProgressOperation.RecognizeOmr OCR progress callback operation identification.
Leadtools.Forms.Ocr.OcrZoneType.VerticalText Vertical characters (Asian) type zone.
Leadtools.Forms.Ocr.OcrZoneType.LeftRotatedText Left rotated text (90 degrees counter clockwise). For Latin, Greek and Cyrillic characters only.
Leadtools.Forms.Ocr.OcrZoneType.RightRotatedText Right rotated text (90 degrees counter clockwise). For Latin, Greek and Cyrillic characters only.
Leadtools.Forms.Ocr.OcrSupportLockedExceptionType.OcrProfessionalAsian Ocr Professional Asian support is required to use this feature.
Leadtools.Forms.Ocr.OcrZoneRecognitionModule.Asian Asian characters recognition module.
Leadtools.Forms.Ocr.OcrSupportLockedExceptionType.Arabic Ocr Arabic support is required to use this feature.
Leadtools.Forms.Ocr.OcrSupportLockedExceptionType.EnginePdf PDF support is required to use this feature (When saving a document using the engine native support, refer to IOcrDocumentManager.EngineFormat).
Leadtools.Forms.Ocr.OcrEngineType.Arabic Specifies the LEADTOOLS OCR Arabic engine. Internally, the OCR library inside Leadtools.Forms.Ocr.Arabic.dll is used.
Leadtools.Forms.Ocr.OcrOmrZoneState The zone OMR recognition state.
Leadtools.Forms.Ocr.OcrOmrSensitivity The OMR sensitivity mode.
Leadtools.Forms.Ocr.OcrOmrFrameDetectionMethod The OMR frame detection mode.
Leadtools.Forms.Ocr.OcrZoneFillMethod.Asian Possible content types of the zones.
Leadtools.Forms.Ocr.OcrOmrZoneState The zone OMR recognition state.
Leadtools.Forms.Ocr.OcrLanguageGroup.Asian Asian group - Contains the following languages: Chinese Traditional, Chinese Simplified, Japanese and Korean.

New Structures

The following structures have been added in v16.5:

Type Description
Leadtools.Forms.Ocr.OcrCharacter Contains recognized character data
Leadtools.Forms.Ocr.OcrZone.OmrState Gets or sets the after-recognition state of the OMR mark if this is an OMR zone.
Leadtools.Forms.Ocr.OcrZone.OmrConfidence Gets or sets the after-recognition state of the OMR mark if this is an OMR zone.
Leadtools.Forms.Ocr.OcrCharacter.Color Gets or sets the character color.

Deprecated Types

The following types have been removed in v16.5:

Type Description
Leadtools.Forms.Ocr.OcrDocumentFormat.PdfAText Adobe PDF/A format with text only. Optimized for the long-term archiving of electronic documents and is based on the PDF Reference Version 1.4 from Adobe Systems Inc. (implemented in Adobe Acrobat 5)
Run(string, string, Generic IList, OcrDocumentFormat, OcrProgressCallback) Method Converts an image file on disk to a document file in the specified document format. Use Run(string, string, Generic IList, DocumentFormat, OcrProgressCallback) Method instead.


Leadtools.Forms.Ocr Assembly Changes from Version 15 to Version 16

New Features

With Version 16 the Leadtools.Document namespace has been deprecated and replaced by the new Leadtools.Forms.Ocr. It represents a new design, featuring:

In addition, OCR output can be saved as PDF/A.

New Assembly

The following assembly has been added to LEADTOOLS For .NET v16:

Namespace Description
Leadtools.Forms.Ocr Includes interfaces, classes, structures, enumerations and delegates to quickly and easily add document optical character recognition (OCR) technology into software applications.

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.