Leadtools.Forms.Ocr Assembly Changes

Summary

Version Changes: 18 to 19

New Members

The following members have been added:

Name Description
Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.JobCompleted Occurs when a job is completed or aborted.
Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.JobOperation Occurs while a job is running.
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.Run(string,string,IList<string>,DocumentFormat,OcrProgressCallback) Converts an image file on disk to a document file in the specified document format with optional multiple single zone files.
Leadtools.Forms.Ocr.IOcrDocument.FileName Gets the name of the disk file used by this file-based IOcrDocument.
Leadtools.Forms.Ocr.IOcrDocument.IsInMemory Gets a value that indicate whether this is a memory-based IOcrDocument.
Leadtools.Forms.Ocr.IOcrDocument.SaveXml(Stream,OcrWriteXmlOptions,OcrXmlOutputOptions) Converts the accumulated recognition results stored in the pages of this OCR document to XML data and stores it in a .NET stream with XML options.
Leadtools.Forms.Ocr.IOcrDocument.SaveXml(string,OcrWriteXmlOptions,OcrXmlOutputOptions) Converts the accumulated recognition results stored in the pages of this OCR document to XML data and stores it in a disk file with XML options.
Leadtools.Forms.Ocr.IOcrDocument.SaveZones(Stream,OcrWriteXmlOptions) Saves zones to a multi-page zones .NET stream with XML options.
Leadtools.Forms.Ocr.IOcrDocument.SaveZones(string,OcrWriteXmlOptions) Saves zones to a multi-page zones disk file with XML options.
Leadtools.Forms.Ocr.IOcrDocumentManager.CreateDocument(string,OcrCreateDocumentOptions) Creates a new OCR file or memory-based document object.
Leadtools.Forms.Ocr.IOcrDocumentManager.GetFontName(string,OcrDocumentFontType) gets the specific type of font used in the final document.
Leadtools.Forms.Ocr.IOcrDocumentManager.SetFontName(string,OcrDocumentFontType,string) Replaces the specific type of font used in the final document.
Leadtools.Forms.Ocr.IOcrEngine.CreatePage(RasterImage,OcrImageSharingMode) Create an IOcrPage from a raster image.
Leadtools.Forms.Ocr.IOcrPage.Copy Creates a copy of the source page.
Leadtools.Forms.Ocr.IOcrPage.DetectLanguages(string[]) Detects the language of the page from a list of languages that is provided by the user.
Leadtools.Forms.Ocr.IOcrPage.DetectNativeFillMethod Detects the native type of zone text in this IOcrPage.
Leadtools.Forms.Ocr.IOcrPage.GetAreaOptions Gets the options for the area of interest on this page.
Leadtools.Forms.Ocr.IOcrPage.GetOverlayImage Gets the overlay image of this IOcrPage.
Leadtools.Forms.Ocr.IOcrPage.GetPreprocessValues Gets the accumulative values of any inversion, rotation or deskew applied to this page by the preprocessor.
Leadtools.Forms.Ocr.IOcrPage.GetText(int) Gets the recognition OCR data for a zone in this IOcrPage as a string.
Leadtools.Forms.Ocr.IOcrPage.HitTestZone (LeadPoint) Gets the zero-based index of the zone under a certain point.
Leadtools.Forms.Ocr.IOcrPage.NativeAutoZone(NativeOcrZoneParser,NativeOcrZoneFillMethod,LogicalUnit,OcrProgressCallback) Performs auto decomposition of the page to find the text and graphics zones using specified parameters.
Leadtools.Forms.Ocr.IOcrPage.SaveXml(Stream,int,OcrWriteXmlOptions,OcrXmlOutputOptions) Converts the accumulated recognition results stored in this page to XML data and stores it in an output stream with XML options.
Leadtools.Forms.Ocr.IOcrPage.SaveXml(string,int,OcrWriteXmlOptions,OcrXmlOutputOptions) Converts the accumulated recognition results stored in this page to XML data and stores it in a disk file with XML options.
Leadtools.Forms.Ocr.IOcrPage.SaveZones(Stream,int,OcrWriteXmlOptions) Saves the zones of this IOcrPage to a multi-page zones disk stream with XML options.
Leadtools.Forms.Ocr.IOcrPage.SaveZones(string,int,OcrWriteXmlOptions) Saves the zones of this IOcrPage to a multi-page zones disk file with XML options.
Leadtools.Forms.Ocr.IOcrPage.SetAreaOptions(OcrPageAreaOptions) Sets the options for the area of interest on this page.
Leadtools.Forms.Ocr.IOcrPage.SetOverlayImage(RasterImage) Sets the overlay image of this IOcrPage
Leadtools.Forms.Ocr.IOcrPage.UpdateNativeFillMethod Update the type of text in the zones of this IOcrPage.
Leadtools.Forms.Ocr.IOcrPageCharacters.UpdateWord(OcrWord,int,int,string) Updates or deletes a word in the recognized words list.
Leadtools.Forms.Ocr.IOcrPageCollection.Item Gets the page at the specified index.
Leadtools.Forms.Ocr.IOcrPageCollection.MovePage(IOcrPage,int) Move a page to new index
Leadtools.Forms.Ocr.IOcrPageCollection.NativeAutoZone(NativeOcrZoneParser,NativeOcrZoneFillMethod,LogicalUnit,int,int,OcrProgressCallback) Performs auto decomposition of a range of pages in the OCR document to find the text and graphics zones using predefined parameters
Leadtools.Forms.Ocr.IOcrPageCollection.UpdateNativeFillMethod Update the type of text in the zones for all the pages in the OCR document.
Leadtools.Forms.Ocr.IOcrPageCollection.UpdateNativeFillMethod(int,int) Update the type of text in the zones for all the pages in the OCR document.
Leadtools.Forms.Ocr.IOcrSettingManager.GetRectangleValue (string) Gets the current value of a rectangle setting.
Leadtools.Forms.Ocr.IOcrSettingManager.Save(Stream,OcrWriteXmlOptions) Saves the OCR engine current settings to a .NET stream.
Leadtools.Forms.Ocr.IOcrSettingManager.Save(string,OcrWriteXmlOptions) Saves the OCR engine current settings to a disk file.
Leadtools.Forms.Ocr.IOcrSettingManager.SetRectangleValue (string,LeadRect) Sets the value of a rectangle setting.
Leadtools.Forms.Ocr.IOcrSpellCheckManager.AddUserWords(string,string[]) Adds user words to a language dictionary.
Leadtools.Forms.Ocr.IOcrZoneManager.GetAdditionalNativeFillMethods Gets an array of additional fill methods supported by the IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.GetAdditionalNativeRecognitionModules Gets an array of the additional recognition modules supported by the IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.GetNativeZone(IOcrPage,int) Gets the native version of a zone.
Leadtools.Forms.Ocr.IOcrZoneManager.GetSupportedNativeFillMethods Gets a list of fill methods supported by this IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.GetSupportedNativeRecognitionModules Gets a list of the recognition modules supported by this IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.GetSupportedNativeZoneTypes Gets a list of zone types supported by this IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.IsNativeFillMethodSupported(NativeOcrZoneFillMethod) Checks whether the specified fill method is supported by this IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.IsNativeRecognitionModuleSupported(NativeOcrZoneRecognitionModule) Checks whether the specified recognition module is supported by this IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.IsNativeZoneTypeSupported(NativeOcrZoneType) Checks whether the specified zone type is supported by this IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.SetNativeZone(IOcrPage,int,NativeOcrZone) Update a zone from a native version.
Leadtools.Forms.Ocr.NativeOcrZone - Represents a native zone rectangular area on a page containing a feature of interest to the user.
Leadtools.Forms.Ocr.NativeOcrZoneAfterRecognitionNotes - The after recognition flags for the zone.
Leadtools.Forms.Ocr.NativeOcrZoneFillMethod - Possible content types of the zones
Leadtools.Forms.Ocr.NativeOcrZoneParser - The zone parser used when automatically performing page-layout decomposition (auto-zoning).
Leadtools.Forms.Ocr.NativeOcrZoneRecognitionModule - Available recognition modules of the engine.
Leadtools.Forms.Ocr.NativeOcrZoneRecognitionOptions - Zone checking control options.
Leadtools.Forms.Ocr.NativeOcrZoneType - Native zone types.
Leadtools.Forms.Ocr.OcrAutoRecognizeJobOperationEventArgs.PageImage Gets or sets the image used with the current operation.
Leadtools.Forms.Ocr.OcrBackgroundFillStyle - Indicates the background fill style of a cell border.
Leadtools.Forms.Ocr.OcrCharacter.Base Gets or sets the length of the Y coordinate of the baseline measured from the top edge of the rectangle exactly containing the character.
Leadtools.Forms.Ocr.OcrCharacter.Bounds Gets or sets the coordinates of the rectangle exactly containing the character.
Leadtools.Forms.Ocr.OcrCharacter.RotationAngle Gets or sets the character rotation angle.
Leadtools.Forms.Ocr.OcrCreateDocumentOptions - Options to use when creating a document using IOcrDocumentManager.
Leadtools.Forms.Ocr.OcrDocumentFontType - Font types used when saving the final document.
Leadtools.Forms.Ocr.OcrImageSharingMode - Options used with IOcrEngine.CreatePage to determine the ownership of the source raster image.
Leadtools.Forms.Ocr.OcrPageAreaOptions - Area of interest options to use with an OCR page.
Leadtools.Forms.Ocr.OcrPageAutoPreprocessValues - Holds data that describes any pre-processing performed on an IOcrPage.
Leadtools.Forms.Ocr.OcrTextDirection - Determines the direction of text in a zone.
Leadtools.Forms.Ocr.OcrTextStyle - The style of a text zone.
Leadtools.Forms.Ocr.OcrTypeManager.CreateDefaultNativeOcrZone Returns an NativeOcrZone with all values set to default.
Leadtools.Forms.Ocr.OcrWord.Bounds Gets or sets the word coordinates in pixels.
Leadtools.Forms.Ocr.OcrWriteXmlOptions - Options to use when saving XML data.
Leadtools.Forms.Ocr.OcrXmlEncoding - Encoding to use when saving XML data.
Leadtools.Forms.Ocr.OcrZone.BackColor Gets or sets the background color of zone.
Leadtools.Forms.Ocr.OcrZone.Bounds Gets or sets the coordinates of the zone in pixels.
Leadtools.Forms.Ocr.OcrZone.FontRatio Gets or sets a value that determines the font ratio of the zone.
Leadtools.Forms.Ocr.OcrZone.ForeColor Gets or sets the foreground color of zone.
Leadtools.Forms.Ocr.OcrZone.IsEngineZone Gets or sets a value that indicate whether this is an engine zone.
Leadtools.Forms.Ocr.OcrZone.TextDirection Gets or sets a value that determines the text direction of the zone.
Leadtools.Forms.Ocr.OcrZone.TextStyle Gets or sets a value that determines the text style of the zone.
Leadtools.Forms.Ocr.OcrZone.ViewPerspective Gets or sets a value that determines the orientation and rotation of the zone.
Leadtools.Forms.Ocr.OcrZoneCell.BackgroundFillStyle Gets or sets the style of the background fill of the cell
Leadtools.Forms.Ocr.OcrZoneCell.BottomBorderWidth Gets or sets the width of the bottom border of the cell
Leadtools.Forms.Ocr.OcrZoneCell.Bounds Gets or sets the bounding rectangle of the cell.
Leadtools.Forms.Ocr.OcrZoneCell.LeftBorderWidth Gets or sets the width of the left border of the cell
Leadtools.Forms.Ocr.OcrZoneCell.RightBorderWidth Gets or sets the width of the right border of the cell
Leadtools.Forms.Ocr.OcrZoneCell.TopBorderWidth Gets or sets the width of the top border of the cell

Removed Members

The following members have been removed:

Name Description
Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.JobCompleted Occurs when a job is completed or aborted.
Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.JobOperation Occurs while a job is running.
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.Run(string,string,String},DocumentFormat,OcrProgressCallback) Converts an image file on disk to a document file in the specified document format with optional multiple single zone files.
Leadtools.Forms.Ocr.IOcrPage.AutoZone(OcrZoneParser,OcrZoneFillMethod,LogicalUnit,OcrProgressCallback) Performs auto decomposition of the page to find the text and graphics zones using specified parameters.
Leadtools.Forms.Ocr.IOcrPage.DetectFillMethod Detects the type of text in this Leadtools.Forms.Ocr.IOcrPage.
Leadtools.Forms.Ocr.IOcrPage.RecognizeText(OcrProgressCallback) Recognizes the OCR data found on this Leadtools.Forms.Ocr.IOcrPage and returns the result as a string.
Leadtools.Forms.Ocr.IOcrPage.UpdateFillMethod Update the type of text in the zones of this Leadtools.Forms.Ocr.IOcrPage.
Leadtools.Forms.Ocr.IOcrPageCharacters.UpdateWord(OcrWord},int,int,string) Updates or deletes a word in the recognized words list.
Leadtools.Forms.Ocr.IOcrPageCollection.AutoZone(OcrZoneParser,OcrZoneFillMethod,LogicalUnit,int,int,OcrProgressCallback) Performs auto decomposition of a range of pages in the OCR document to find the text and graphics zones using predefined parameters
Leadtools.Forms.Ocr.IOcrPageCollection.Item(int) Gets the page at the specified index.
Leadtools.Forms.Ocr.IOcrPageCollection.UpdateFillMethod Update the type of text in the zones for all the pages in the OCR document.
Leadtools.Forms.Ocr.IOcrPageCollection.UpdateFillMethod(int,int) Update the type of text in the zones for all the pages in the OCR document.
Leadtools.Forms.Ocr.IOcrTableZoneManager.UpdateCells(int) Updates the cells properties of a given table zone.
Leadtools.Forms.Ocr.IOcrZoneManager.GetAdditionalFillMethods Gets an array of the additional fill methods supported by the Leadtools.Forms.Ocr.IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.GetAdditionalRecognitionModules Gets an array of the additional recognition modules supported by the Leadtools.Forms.Ocr.IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.GetSupportedFillMethods Gets a list of the fill method supported by this Leadtools.Forms.Ocr.IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.GetSupportedRecognitionModules Gets a list of the recognition modules supported by this Leadtools.Forms.Ocr.IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.IsFillMethodSupported(OcrZoneFillMethod) Checks whether the specified fill method is supported by this Leadtools.Forms.Ocr.IOcrEngine.
Leadtools.Forms.Ocr.IOcrZoneManager.IsRecognitionModuleSupported(OcrZoneRecognitionModule) Checks whether the specified recognition module is supported by this Leadtools.Forms.Ocr.IOcrEngine.
Leadtools.Forms.Ocr.OcrEngineType.Plus Specifies the LEADTOOLS OCR Plus engine. Internally, the OCR library inside Leadtools.Forms.Ocr.Plus.dll is used
Leadtools.Forms.Ocr.OcrZone.AfterRecognitionNotes Gets or sets the after recognition notes for this zone.
Leadtools.Forms.Ocr.OcrZone.Cells Gets or sets the detected cells of this zone if the zone type is Leadtools.Forms.Ocr.OcrZoneType
Leadtools.Forms.Ocr.OcrZone.FillMethod Gets or sets the zone filling method.
Leadtools.Forms.Ocr.OcrZone.OmrConfidence Gets or sets the confidence value of the after-recognition state of the OMR mark if this is an OMR zone.
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.RecognitionModule Gets or sets the zone recognition module.
Leadtools.Forms.Ocr.OcrZone.RecognitionOptions Gets or sets the extra recognition options for this zone.
Leadtools.Forms.Ocr.OcrZone.Selected Gets or sets a value indicating whether this zone is selected.
Leadtools.Forms.Ocr.OcrZone.UserDictionarySectionName Not used by this version of LEADTOOLS.
Leadtools.Forms.Ocr.OcrZoneAfterRecognitionNotes - The after recognition flags for the zone.
Leadtools.Forms.Ocr.OcrZoneFillMethod - Possible content types of the zones
Leadtools.Forms.Ocr.OcrZoneParser - The zone parser used when automatically performing page-layout decomposition (auto-zoning).
Leadtools.Forms.Ocr.OcrZoneRecognitionModule - Available recognition modules of the engine.
Leadtools.Forms.Ocr.OcrZoneRecognitionOptions - Zone checking control options.
Leadtools.Forms.Ocr.OcrZoneType.AutoGraphic Zone containing graphics (sure).
Leadtools.Forms.Ocr.OcrZoneType.Caption Caption type zone.
Leadtools.Forms.Ocr.OcrZoneType.Column Column type zone.
Leadtools.Forms.Ocr.OcrZoneType.Footer Footer type zone.
Leadtools.Forms.Ocr.OcrZoneType.Header Header 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.Other Other zone type.
Leadtools.Forms.Ocr.OcrZoneType.RightRotatedText Right rotated text (90 degrees clockwise). For Latin, Greek and Cyrillic characters only.
Leadtools.Forms.Ocr.OcrZoneType.Title Title type zone.
Leadtools.Forms.Ocr.OcrZoneType.VerticalText Vertical characters. For Asian characters only.

Version Changes: 17.5 to 18

New Members

The following members have been added to the existing types:

Member Description
Leadtools.Forms.Ocr.OcrMicrData Magnetic ink character recognition (MICR) data.
Leadtools.Forms.Ocr.OcrMicrData.Auxiliary Gets or sets the auxiliary value.
Leadtools.Forms.Ocr.OcrMicrData.Epc Gets or sets the EPC value.
Leadtools.Forms.Ocr.OcrMicrData.Routing Gets or sets the routing value.
Leadtools.Forms.Ocr.OcrMicrData.Account Gets or sets the account value.
Leadtools.Forms.Ocr.OcrMicrData.CheckNumber Gets or sets the check number value.
Leadtools.Forms.Ocr.OcrMicrData.Amount Gets or sets the amount value.
Leadtools.Forms.Ocr.OcrCharacter.Bounds (WinRT) Gets or sets the coordinates of the rectangle exactly containing the character.
Leadtools.Forms.Ocr.OcrCharacter.Base (WinRT) Gets or sets the length of the Y coordinate of the baseline measured from the top edge of the rectangle exactly containing the character.
Leadtools.Forms.Ocr.OcrCharacterFontStyle.Strikeout Strikeout text
Leadtools.Forms.Ocr.OcrWord.Bounds (WinRT) Gets or sets the word coordinates in pixels.
Leadtools.Forms.Ocr.IOcrDocument.SaveAsync(Leadtools.ILeadStream,Leadtools.Forms.DocumentWriters.DocumentFormat,Leadtools.Forms.Ocr.OcrProgressCallback) Converts the accumulated recognition results stored in the pages of this OCR document to the final output document and stores it into a Windows Runtime StorageFile object.
Leadtools.Forms.Ocr.IOcrDocument.SaveXmlAsync(IStorageFile,Leadtools.Forms.Ocr.OcrXmlOutputOptions) Converts the accumulated recognition results stored in the pages of this OCR document to XML data and stores it into a Windows Runtime StorageFile object.
Leadtools.Forms.Ocr.IOcrDocument.LoadZonesAsync(IStorageFile) Load zones from a multi-page Windows Runtime StorageFile object.
Leadtools.Forms.Ocr.IOcrDocument.SaveZonesAsync(IStorageFile) Saves zones to a multi-page zones Windows Runtime StorageFile object.
Leadtools.Forms.Ocr.OcrTypeManager Helper class to create OCR struct values.
Leadtools.Forms.Ocr.OcrTypeManager.CreateDefaultOcrCharacter Returns an OcrCharacter with all values set to default.
Leadtools.Forms.Ocr.OcrTypeManager.CreateDefaultOcrWord Returns an OcrWord with all values set to default.
Leadtools.Forms.Ocr.OcrTypeManager.CreateDefaultOcrZone Returns an OcrZone with all values set to default.
Leadtools.Forms.Ocr.OcrPageType.Original

The original image reference. This image is used by the OCR engine internally and should not be disposed. The original image is not **null** when this page is created by adding an image from a file, URL or stream or when the value of the "Recognition.ShareOriginalImage" setting is **true**. Otherwise, the engine returns a **null** reference for this value.

Leadtools.Forms.Ocr.IOcrPage.HitTestZone(Leadtools.LeadPoint) (WinRT) Gets the zero-based index of the zone under a certain point.
Leadtools.Forms.Ocr.IOcrPage.LoadZonesAsync(IStorageFile) Loads zones from a single-page zones Windows Runtime StorageFile object.
Leadtools.Forms.Ocr.IOcrPage.LoadZonesAsync(IStorageFile,Int32) Loads zones from a multi-page zones Windows Runtime StorageFile.
Leadtools.Forms.Ocr.IOcrPage.SaveZonesAsync(IStorageFile) Saves the zones of this IOcrPage to a single-page zones Windows Runtime StorageFile object.
Leadtools.Forms.Ocr.IOcrPage.SaveZonesAsync(IStorageFile,Int32) Saves the zones of this IOcrPage to a multi-page zones Windows Runtime StorageFile object.
Leadtools.Forms.Ocr.IOcrPageCollection.AddDib(IBuffer,Leadtools.Forms.Ocr.OcrProgressCallback) Adds a page from a DIB (Device-independent bitmap) stored in a Windows Runtime IBuffer object.
Leadtools.Forms.Ocr.IOcrPageCollection.InsertDib(Int32,IBuffer,Leadtools.Forms.Ocr.OcrProgressCallback) Inserts a DIB (Device-independent bitmap) stored in unmanaged memory to the specified location.
Leadtools.Forms.Ocr.IOcrZoneCharacters.GetWords Gets a list of recognized the words for this zone.
Leadtools.Forms.Ocr.IOcrZoneCharacters.ExtractMicrData Extracts the Magnetic ink character recognition (MICR) data for this zone recognition data.
Leadtools.Forms.Ocr.OcrZoneCell.Bounds (WinRT) Gets or sets the bounding rectangle of the cell.
Leadtools.Forms.Ocr.OcrZoneCell.LeftBorderWidth (WinRT) Gets or sets the width of the left border of the cell
Leadtools.Forms.Ocr.OcrZoneCell.TopBorderWidth (WinRT) Gets or sets the width of the top border of the cell
Leadtools.Forms.Ocr.OcrZoneCell.RightBorderWidth (WinRT) Gets or sets the width of the right border of the cell
Leadtools.Forms.Ocr.OcrZoneCell.BottomBorderWidth (WinRT) Gets or sets the width of the bottom border of the cell
Leadtools.Forms.Ocr.IOcrSettingDescriptor.freeEnumMemberValues(Int32[]) (Objective C) Frees the enumMemberValues array allocated by getEnumMemberValues method
Leadtools.Forms.Ocr.IOcrSettingManager.GetRectangleValue(String) (WinRT) Gets the current value of a rectangle setting.
Leadtools.Forms.Ocr.IOcrSettingManager.SetRectangleValue(String,Leadtools.LeadRect) (WinRT) Sets the value of a rectangle setting.
Leadtools.Forms.Ocr.IOcrZoneCollection.GetZoneCells(Leadtools.Forms.Ocr.OcrZone) Gets the cells of a zone.
Leadtools.Forms.Ocr.IOcrZoneCollection.SetZoneCells(Leadtools.Forms.Ocr.OcrZone,Leadtools.Forms.Ocr.OcrZoneCell[]) Sets the cells of a zone.
Leadtools.Forms.Ocr.OcrZone.Bounds (WinRT) Gets or sets the coordinates of the zone in pixels.
Leadtools.Forms.Ocr.OcrZone.Language Gets or sets the zone language.
Leadtools.Forms.Ocr.OcrZoneFillMethod.CMC7 CMC7 zone filling method.
Leadtools.Forms.Ocr.IOcrZoneManager.freeSupportedZonesTypes(Leadtools.Forms.Ocr.OcrZoneType[]) (Objective C) Frees the supportedZoneTypes array allocated by the getSupportedZoneTypes method.
Leadtools.Forms.Ocr.IOcrZoneManager.freeSupportedRecognitionModules(Leadtools.Forms.Ocr.OcrZoneRecognitionModule[]) (Objective C) Frees the Leadtools.Forms.Ocr.OcrZoneRecognitionModule array allocated by IOcrZoneManager.GetSupportedRecognitionModules method.
Leadtools.Forms.Ocr.IOcrZoneManager.freeAdditionalRecognitionModules(Leadtools.Forms.Ocr.OcrZoneRecognitionModule[]) (Objective C) Frees the Leadtools.Forms.Ocr.OcrZoneRecognitionModule array allocated by IOcrZoneManager.GetAdditionalRecognitionModules method.
Leadtools.Forms.Ocr.IOcrZoneManager.freeSupportedFillMethods(Leadtools.Forms.Ocr.OcrZoneFillMethod[]) (Objective C) Frees Leadtools.Forms.Ocr.OcrZoneFillMethod array allocated by IOcrZoneManager.GetSupportedFillMethods method.
Leadtools.Forms.Ocr.IOcrZoneManager.freeAdditionalFillMethods(Leadtools.Forms.Ocr.OcrZoneFillMethod[]) (Objective C) Frees the array Leadtools.Forms.Ocr.OcrZoneFillMethod allocated by IOcrZoneManager.GetAdditionalFillMethods method

Android, iOS / macOS, and .NET WinForms support - LEADTOOLS V18 adds Android support to its toolkits through the new LEADTOOLS Android SDK. In addition, iOS / macOS support for its toolkits has been added through the new LEADTOOLS iOS / macOS SDK; and .NET WinForms support has been added through the new LEADTOOLS .NET WinForms SDK. These toolkits provide everything a developer needs to create imaging-enabled Android, iOS / macOS, or .NET WinForms applications.

New Libraries

The following Libraries have been added to LEADTOOLS v18:

Packages, Frameworks or DLLs / Shared Object Libraries Comments
leadtools.forms.ocr.jar / LibLeadtools.Forms.Ocr.SO Android support for recognizing text and magnetic ink characters in images and saving recognition results to several output formats.
Leadtools.Forms.Ocr framework iOS / macOS support for recognizing text and magnetic ink characters in images and saving recognition results to several output formats.
Leadtools.Forms.Ocr.DLL .NET WinForms support for recognizing text and magnetic ink characters in images and saving recognition results to several output formats.

For more information, refer to New in 18.

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 IOcrEngine.

Leadtools.Forms.Ocr.IOcrDocumentManager.GetAdditionalEngineFormats

Gets a list of the engine native formats supported by this 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 have 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 IOcrAutoRecognizeManager job operations.
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobStatus Indicates the job status.
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobError Contains information on an IOcrAutoRecognizeManager job error.
Leadtools.Forms.Ocr.OcrAutoRecognizeManagerJobErrorMode Indicates the value for the JobErrorMode property.
Leadtools.Forms.Ocr.OcrAutoRecognizeJobProgressEventArgs Contains data 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 IOcrAutoRecognizeManager.
Leadtools.Forms.Ocr.OcrCellBorderLineStyle Indicates the line style of a cell border.
Leadtools.Forms.Ocr.OcrPageType Indicates the type of the page's 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 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 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 continue 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 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 IOcrPage to a single-page zones disk file.

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

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

Leadtools.Forms.Ocr.IOcrDocument.UseEngineInstanceOptions

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

Leadtools.Forms.Ocr.IOcrDocument.RasterCodecsInstance

Gets the instance of the RasterCodecs object being used inside this IOcrDocument.

Leadtools.Forms.Ocr.IOcrDocument.DocumentWriterInstance

Gets the instance of the DocumentWriter object being used inside this 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 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 accumulated recognition results 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 accumulated recognition results 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 accumulated recognition results 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 accumulated recognition results 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 accumulated recognition results 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:

  • High-level design
  • Increased ease of use
  • Choice of multiple OCR Engines

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.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Imaging, Medical, and Document