Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.21
Leadtools.Document Assembly Changes from Version 14.5 to Version 15

Renamed Types

The Leadtools.Ocr assembly/namespace has been renamed Leadtools.Document. Following is a list of the new names for all the types in Leadtools.Document:

Version 14.5Version 15
RasterOcrCharacterOptionsRasterDocumentCharacterOptions
RasterOcrSelectorRasterDocumentSelector
RasterOcrFillMethodRasterDocumentFillMethod
RasterOcrCharacterFilterRasterDocumentCharacterFilter
RasterOcrLanguageRasterDocumentLanguage
RasterOcrDocumentOptionsRasterDocumentOptions
RasterOcrPaperTypeRasterDocumentPaperType
RasterOcrPaperOrientationRasterDocumentPaperOrientation
RasterOcrTableMethodRasterDocumentTableMethod
RasterOcrProgressEventArgsRasterDocumentProgressEventArgs
RasterOcrZoneDataRasterDocumentZoneData
RasterOcrPageInfoRasterDocumentPageInfo
RasterOcrHandPrintOptionsRasterDocumentHandprintOptions
RasterOcrOmrOptionsRasterDocumentOmrOptions
RasterOcrExceptionRasterDocumentException
RasterOcrParagraphOptionsRasterDocumentParagraphOptions
RasterOcrMarkOptionsRasterDocumentMarkOptions
RasterOcrResultOptionsRasterDocumentResultOptions
RasterOcrFileFormatInfoRasterDocumentFileFormatInfo
RasterOcrRecognizedCharactersRasterDocumentRecognizedCharacters
RasterOcrRecognizedWordsRasterDocumentRecognizedWords
RasterOcrRasterDocumentEngine
RasterOcrProcessIdRasterDocumentProcessId
RasterOcrRecognizeModuleRasterDocumentRecognizeModule
RasterOcrZoneTypeRasterDocumentZoneType
RasterOcrZoneFlagsRasterDocumentZoneFlags
RasterOcrHandRecognizeStyleRasterDocumentHandRecognizeStyle
RasterOcrOmrFrameRasterDocumentOmrFrame
RasterOcrOmrSenseRasterDocumentOmrSense
RasterOcrExceptionCodeRasterDocumentExceptionCode
RasterOcrLineSpacingRasterDocumentLineSpacing
RasterOcrAlignmentRasterDocumentAlignment
RasterOcrColorFlagsRasterDocumentColorFlags
RasterOcrFormatTypeRasterDocumentFormatType
RasterOcrFormatLevelRasterDocumentFormatLevel
RasterOcrFontFlagsRasterDocumentFontFlags
RasterOcrCharacterPositionFlagsRasterDocumentCharacterPositionFlags
RasterOcrDictionaryAttributeRasterDocumentDictionaryAttribute
RasterOcrPageParserRasterDocumentPageParser
RasterOcrTradeOffRasterDocumentTradeoff
RasterOcrVerificationCodeRasterDocumentVerifyCode
RasterOcrVerificationEventArgsRasterDocumentVerifyEventArgs
RasterOcrFormatOutputTypeRasterDocumentFileFormatInfoType
RasterOcrLanguageResultRasterDocumentOptionsLanguage
RasterOcrColorResultRasterDocumentRetainGraphicsMode
RasterOcrRecognitionStatusRasterDocumentRecognitionStatistic

New Types

The following types have been added to LEADTOOLS For .NET v15:

TypeDescription
RasterDocumentCodePageValues that specify the code page
RasterDocumentDrawZoneOptionsContains options used to display zones or draw them
RasterDocumentRecognizeStatusCallbackThe page recognition status event
RasterDocumentUserDictionaryItemContains user dictionary item information

New Members

The following members have been added to existing classes in v15:

TypeDescription
RasterDocumentEngine.InstanceGets an instance of the document engine
RasterDocumentEngine.SelectZoneByPointDraws a selection rectangle around the zone located at the specified point
RasterDocumentEngine.SelectZoneSelects or deselects the specified zone and draws it in the specified Graphics object.
RasterDocumentEngine.GetOrientationSlopeFinds the orientation slope for the specified page
RasterDocumentEngine.AvailableOutputFileFormatsGets the available output file formats for the OCR document engine.
RasterDocumentEngine.RecognitionStatisticGets the last recognition status
RasterDocumentVerifyEventArgs.ToBeCheckedThe suggested word for the recognized word.
RasterDocumentPageInfo.SizeGets the size of a specified page in the OCR document
RasterDocumentVerifyEventArgs.VerifyCodeThe user verification suggestion code for the current suggested word
RasterDocumentEngine.VerifyReports the suggested word for the last word recognized in a specific zone
RasterDocumentUserDictionaryItem.AttributeThe User dictionary attribute that is used when adding an item into the dictionary
RasterDocumentDrawZoneOptions.PenGets or sets the Pen object to be used when drawing the zones
RasterDocumentDrawZoneOptions.SelectedPenGets or sets the Pen object to be used when drawing the selected zone
RasterDocumentDrawZoneOptions.ZoomPercentGets or sets the Zone Zoom Percent
RasterDocumentDrawZoneOptions.OffsetGets or sets the Zone scroll position
RasterDocumentDrawZoneOptions.VisibleSpecifies whether page zones will be drawn

Removed Types

The following types have been removed in v.15:

TypeDescription
RasterOcrEnumOutputFileFormatsUse RasterDocumentEngine.AvailableOutputFileFormats instead
RasterOcrVerificationUse EventHandler<RasterDocumentVerifyEventArgs> instead
RasterOcrRecognizeStatusUse RasterDocumentRecognizeStatusCallback instead
RasterOcrRecognizeStatusEventArgsUse RasterDocumentRecognizeStatusCallback instead
RasterOcrEnumOutputFileFormatsEventArgsUse RasterDocumentEngine.AvailableOutputFileFormats instead
RasterOcrProgressUse EventHandler<RasterDocumentProgressEventArgs> instead
RasterOcrFontDefineInternal use type removed

Removed Members

The following members have been removed in v.15:

MemberDescription
RasterOcrEngine.StartUpUse RasterDocumentEngine.Startup instead
RasterOcrEngine.ShutDownUse RasterDocumentEngine.Shutdown instead
RasterOcrEngine.GetZonesCountUse RasterDocumentEngine.GetZoneCount instead
RasterOcrEngine.ShowZoneGridLinesUse RasterDocumentEngine.ShowZoneGridlines instead
RasterOcrEngine.RecognizeModuleTradeOffUse RasterDocumentEngine.RecognizeModuleTradeoff instead
RasterOcrEngine.MorEnableFaxModeUse RasterDocumentEngine.EnableMorFaxMode instead
RasterOcrEngine.HandPrintOptionsUse RasterDocumentEngine.HandprintOptions instead
RasterOcrEngine.EnableSubSystemUse RasterDocumentEngine.EnableSubsystem instead
RasterOcrEngine.SpellLanguageIDUse RasterDocumentEngine.SpellLanguageId instead
RasterOcrEngine.OutputFileFormatsUse RasterDocumentEngine.AvailableOutputFileFormats instead
RasterOcrEngine.EnumOutputFileFormatsUse RasterDocumentEngine.AvailableOutputFileFormats instead
RasterOcrEngine.ZonePenUse RasterDocumentDrawZoneOptions.Pen instead
RasterOcrEngine.SelectedZonePenUse RasterDocumentDrawZoneOptions.SelectedPen instead
RasterOcrEngine.ZoneZoomPercentUse RasterDocumentDrawZoneOptions.ZoomPercent instead
RasterOcrEngine.ZoneScrollPositionUse RasterDocumentDrawZoneOptions.Offset instead
RasterOcrEngine.ZoneRectangleNot needed anymore
RasterOcrEngine.EnableShowZonesUse RasterDocumentDrawZoneOptions.Visible instead
RasterOcrEngine.PaintPropertiesPass as a parameter to RasterDocumentEngine.DrawPage instead
RasterOcrEngine.SourceRectanglePass as a parameter to RasterDocumentEngine.DrawPage instead
RasterOcrEngine.SourceClipRectanglePass as a parameter to RasterDocumentEngine.DrawPage instead
RasterOcrEngine.DestinationRectanglePass as a parameter to RasterDocumentEngine.DrawPage instead
RasterOcrEngine.DestinationClipRectanglePass as a parameter to RasterDocumentEngine.DrawPage instead
RasterOcrEngine.DictionaryFileNamePass as a parameter to RasterDocumentEngine.SetUserDictionary instead
RasterOcrEngine.DictionaryItemAttributeUse RasterDocumentUserDictionaryItem.Attribute instead
RasterOcrEngine.RecognizeStatusUse the RasterDocumentRecognizeStatusCallback parameter to RasterDocumentEngine.Recognize instead
RasterOcrEngine.OcrStatusUse RasterDocumentEngine.RecognitionStatistic instead
RasterOcrVerificationEventArgs.WordUse RasterDocumentVerifyEventArgs.ToBeChecked instead
RasterOcrLanguage.LappishNo longer supported
RasterOcrPageInfo.WidthUse RasterDocumentPageInfo.Size instead
RasterOcrPageInfo.HeightUse RasterDocumentPageInfo.Size instead
RasterOcrException.GetCodeMessageInternal use method removed
RasterOcrException.SetCodeMessageInternal use method removed
RasterOcrZoneData.VerifyCodeUse RasterDocumentVerifyEventArgs.VerifyCode instead
RasterOcrZoneData.DisableEventsUse RasterDocumentEngine.DisableEvents instead
RasterOcrZoneData.EnableEventsUse RasterDocumentEngine.EnableEvents instead
RasterOcrZoneData.VerificationUse RasterDocumentEngine.Verify instead

Renamed Members

The following members have been renamed in v.15:

Version 14.5Version 15
RasterOcrFontFlags.SuperScriptRasterDocumentFontFlags.Superscript
RasterOcrFontFlags.SubScriptRasterDocumentFontFlags.Subscript
RasterOcrRecognitionStatus.PreProcessTimeRasterDocumentRecognitionStatistic.PreprocessTime
RasterOcrExceptionCode.RecognitionTimeOutRasterDocumentExceptionCode.RecognitionTimeout
RasterOcrExceptionCode.TextOperationCancelledRasterDocumentExceptionCode.TextOperationCanceled
RasterOcrExceptionCode.HnrParamOutRangeRasterDocumentExceptionCode.HnrParameterOutOfRange
RasterOcrZoneFlags.IgnoreWhiteSpaceCharactersRasterDocumentZoneFlags.IgnoreWhitespaceCharacters
RasterOcrZoneFlags.DontUseUserDictionaryRasterDocumentZoneFlags.DoNotUseUserDictionary
RasterOcrZoneFlags.DontUseVerificationEventRasterDocumentZoneFlags.DoNotUseVerificationEvent
RasterOcrZoneFlags.DontUseLanguageDictionaryRasterDocumentZoneFlags.DoNotUseLanguageDictionary
RasterOcrZoneFlags.DontUseVerticalDictionaryRasterDocumentZoneFlags.DoNotUseVerticalDictionary
RasterOcrZoneFlags.IgnoreCaseInsenstiveRasterDocumentZoneFlags.IgnoreCaseInsensitive
RasterOcrFormatType.Word972000XpRasterDocumentFormatType.Word972000XP
RasterOcrFormatType.OpeneBook10RasterDocumentFormatType.OpenEBook10
RasterOcrCharacterFilter.UpperCaseRasterDocumentCharacterFilter.Uppercase
RasterOcrCharacterFilter.LowerCaseRasterDocumentCharacterFilter.Lowercase
RasterOcrCharacterFilter.MiscRasterDocumentCharacterFilter.Miscellaneous
RasterOcrCharacterFilter.OcraRasterDocumentCharacterFilter.OcrA
RasterOcrFillMethod.OcraRasterDocumentFillMethod.OcrA
RasterOcrFillMethod.OcrbRasterDocumentFillMethod.OcrB
RasterOcrFillMethod.HandPrintRasterDocumentFillMethod.Handprint
RasterOcrColorResult.NoneGraphicsRasterDocumentRetainGraphicsMode.NoGraphics
RasterOcrProgressEventArgs.AccecptCharacterCountRasterDocumentProgressEventArgs.AcceptedCharacterCount
RasterOcrLanguage.GandaLugandaRasterDocumentLanguage.Wend
RasterOcrLanguage.ChuanaTswanaRasterDocumentLanguage.Chuana
RasterOcrLanguage.SerbianLatinRasterDocumentLanguage.SerbianCyrillic
RasterOcrLanguage.PidginEnglishRasterDocumentLanguage.Pidgin
RasterOcrLanguage.WendSorbianRasterDocumentLanguage.Wend
RasterOcrLanguage.SothoSutoSesutoRasterDocumentLanguage.Sotho
RasterOcrDocumentOptions.ResultLanguageRasterDocumentOptions.Language
RasterOcrDocumentOptions.ColorRasterDocumentOptions.RetainGraphics
RasterOcrDocumentOptions.EnableTextInBoxesRasterDocumentOptions.TextInboxes
RasterOcrDocumentOptions.MarginRectangleRasterDocumentOptions.Margins
RasterOcrDocumentOptions.EnablePageBreaksRasterDocumentOptions.RetainPageBreaks
RasterOcrProcessId.ProcessingImageRasterDocumentProcessId.ImageProcess
RasterOcrVerificationCode.AcceptRasterDocumentVerifyCode.Sure
RasterOcrRecognizeModule.MultiLingualOmniFontRasterDocumentRecognizeModule.OmniFontMultilingual
RasterOcrRecognizeModule.MtextOmniFontRasterDocumentRecognizeModule.OmniFontMText
RasterOcrRecognizeModule.OmniFontPlus3wRasterDocumentRecognizeModule.OmniFontPlus3w
RasterOcrRecognizeModule.OmniFontPlus2wRasterDocumentRecognizeModule.OmniFontPlus2w

Changed Members

The following members have been changed in v.15:

MemberDescription
RasterDocumentEngine.FindZonesNew parameters added
RasterDocumentEngine.GetRecognizedCharactersMethod return value changed to List<RasterDocumentRecognizedCharacters>
RasterDocumentEngine.GetRecognizedWordsMethod return value changed to List<RasterDocumentRecognizedWords>
RasterDocumentEngine.DrawPageNew parameters added
RasterDocumentEngine.DictionaryDefaultSectionProperty is readonly now
RasterDocumentEngine.SetUserDictionaryNew parameters added
RasterDocumentEngine.GetUserDictionarySectionItemNew parameters added
RasterDocumentEngine.RecognizeNew parameters added

Properties Changed into Methods

The following properties have changed into methods in v.15:

Version 14.5Version 15
RasterOcrCharacterOptions.FontNamesRasterDocumentCharacterOptions.GetFontNames and RasterDocumentCharacterOptions.SetFontNames