ABBYY FineReader Engine Visual Components 12 and 9.0/9.5 Compatibility
Some of the changes are caused by the changes in FineReader Engine API. For details on these changes, please see ABBYY FineReader Engine 12 and 9 Compatibility. They are the following:
- All processing parameters are grouped in one DocumentProcessingParams object.
- LongsCollection object has been renamed to IntsCollection.
- long data type has been replaced with int data type in all properties and methods that used it.
- Text Validator can be called directly from the Text Editor using the Check Spelling button.
- The events of mouse and keyboard input are grouped into the IInputEvents interface.
- The new Zoom Viewer component, separated from the Image Viewer.
- Working with commands via the Commands object.
Other changes:
Object/Enumeration | Property/Method/Constant | What has happened? | Comment |
---|---|---|---|
ImageViewer |
PageProcessingParams SynthesisParamsForPage SynthesisParamsForDocument |
Removed | Use the ProcessingParams property instead. |
ContextMenu | Removed | The format of context menu is different now. Use the ContextMenuEnabled and PopupMenu properties instead. | |
SymbolRect SymbolRectEnabled |
Removed | This properties make sense only for the Zoom Viewer component. As Image Viewer and Zoom Viewer components have been separated, you should use corresponding properties of the ZoomViewer object instead. | |
DisableCommand DoCommand EnableCommand RegisterUserCommand UnregisterUserCommand |
Removed | Use the corresponding methods of the Commands subobject of the ImageViewer object instead. | |
ShowRecognizedRect HideRecognizingInfo | Removed | Use the HighlightRecognizedArea property instead. | |
BlocksColorScheme | Removed | This property is currently not supported. | |
WindowHandle | The type of the property has been changed. |
The property has the __int64 type. This change has been made for 64-bit operating systems support. |
|
IImageViewerEvents | OnCommand | Removed | Use the OnCommand method of the ICommandEvent interface. |
OnAnalyzeBlock | Removed | Use the OnAnalyzeRegion method instead. | |
OnToolRenumberBlocks | Removed | This functionality is not currently supported. | |
OnToolEraseRect | Input parameters number changed | This method takes as an input parameter the index of an active page in the document. | |
OnRecognizeBlocks | Renamed | The new name of the method is OnReadBlocks. | |
OnRecognizePage | Renamed | The new name of the method is OnReadPage. | |
OnDraw | Removed | This method worked with low level drawing tools and presumed a large number of code to be written. As Image Viewer provides a wide variety of special tools for working with an image, so the method has been removed. | |
OnTableCellsSelected | The second parameter has been renamed. | The new name of the second parameter is Rect. This name for rectangle input parameter is generally used in FineReader Engine API. | |
OnChar OnKeyDown OnKeyUp OnMouseButtonDown OnMouseButtonUp OnMouseDoubleClick OnMouseMove OnMouseWheel OnScroll |
Removed | These methods are inherited from the IInputEvents interface. | |
OnToolDeleteBlocks | Renamed | The new name of the method is OnDeleteBlocks. | |
DocumentViewer |
PageProcessingParams SynthesisParamsForPage SynthesisParamsForDocument |
Removed | Use the ProcessingParams property instead. |
ContextMenu | Removed | The format of context menu is different now. Use the ContextMenuEnabled and PopupMenu properties instead. | |
SelectedPages | Removed | Use the SelectedPagesIndexes and the FRDocument properties to receive the selected pages. | |
DisableCommand DoCommand EnableCommand RegisterUserCommand UnregisterUserCommand |
Removed | Use the corresponding methods of the Commands subobject of the DocumentViewer object instead. | |
WindowHandle | The type of the property has been changed. |
The property has the __int64 type. This change has been made for 64-bit operating systems support. |
|
IDocumentViewerEvents | OnCommand | Removed | Use the OnCommand method of the ICommandEvent interface. |
OnChar OnKeyDown OnKeyUp OnMouseButtonDown OnMouseButtonUp OnMouseDoubleClick OnMouseMove OnMouseWheel OnScroll |
Removed | These methods are inherited from the IInputEvents interface. | |
OnRenumberPage | Removed | Use the OnRenumberingPages method instead. The method differs from the old one in the following aspect: the method delivers to the client the new order of pages. | |
OnActivePageChanged | Input parameter type changed | This method delivers to the client a reference to the new active page instead of its index. | |
OnActivePageChanging | Event invocation has been changed. Input parameter type has been changed. |
The process is not invoked if the active page is changed via API of Document Viewer. When the page is changed via API, the code developer is aware of it beforehand and does not need the notification. This process is invoked only when changed by user of the application. This method delivers to the client a reference to the new active page instead of its index. |
|
OnLocked | Event invocation has been changed. | The method is called after Document Viewer has been locked or unlocked. | |
OnDraw | Removed | This method worked with low level drawing tools and presumed a large number of code to be written. As Document Viewer provides a wide variety of special tools for working with pages in the document, so the method has been removed. | |
OnTextEditorModeChange | Removed | The method is obsolete. Now there is no need to synchronize the mode of Text Editor with the export settings specified in Document Viewer. | |
TextEditor | TextEditorMode | Renamed | The same functionality is provided via the Mode property. |
ContextMenu | Removed | The format of context menu is different now. Use the ContextMenuEnabled and PopupMenu properties instead. | |
DisableCommand DoCommand EnableCommand RegisterUserCommand UnregisterUserCommand |
Removed | Use the corresponding methods of the Commands subobject of the TextEditor object instead. | |
ITextEditorEvents | OnCommand | Removed | Use the OnCommand method of the ICommandEvent interface. |
OnTextEditorModeChange | Removed | The method is obsolete. Now there is no need to synchronize the mode of Text Editor with the export settings specified in Document Viewer. | |
OnDraw | Removed | This method worked with low level drawing tools and presumed a large number of code to be written. As Text Editor provides a wide variety of special tools for editing recognized text, so the method has been removed. | |
OnChar OnKeyDown OnKeyUp OnMouseButtonDown OnMouseButtonUp OnMouseDoubleClick OnMouseMove OnMouseWheel OnScroll |
Removed | These methods are inherited from the IInputEvents interface. | |
TextValidator | ContextMenu | Removed | This component does not support context menu any longer. |
FRPage | Removed | The Text Validator works with a whole document, therefore this property has been replaced with the FRDocument property. | |
SkipPromptingWordForms | Removed | This property is no longer supported due to the changes in recognition technologies. | |
SpellBlock | Input parameters number changed | The index of the page, on which the block is located, is used as an input parameter. | |
ITextValidatorEvents |
OnChar OnKeyDown OnKeyUp OnMouseButtonDown OnMouseButtonUp OnMouseDoubleClick OnMouseMove OnMouseWheel |
Removed | These methods are inherited from the IInputEvents interface. |
ComponentSynchronizer |
OverView ZoomView |
Renamed | Use the ImageViewer and ZoomViewer properties, respectively. |
PageProcessingParams SynthesisParamsForPage SynthesisParamsForDocument |
Removed | Use the ProcessingParams property instead. | |
FRContextMenu | Removed | Use the Commands object instead. It provides access to the available commands of the component. | |
ToolbarPositionEnum | Removed | This functionality is no longer supported. | |
BlocksColorScheme | Removed | This functionality is currently not supported. | |
TextEditorModeEnum | The constants have been changed. | Text Editor has different viewing modes in this version. | |
SpellReplacementCollection | Item | Renamed | The new name of the property is Element. |
Insert Remove RemoveAll |
Renamed | The new names of the methods are InsertAt, DeleteAt, DeleteAll. | |
SpellWordCollection | Item | Renamed | The new name of the property is Element. |
Insert Remove RemoveAll |
Renamed | The new names of the methods are InsertAt, DeleteAt, DeleteAll. | |
Toolbar |
DockingPosition LargeButtons Visible |
Removed | This functionality is no longer supported. |
MenuItemAtPosition | Renamed | The same functionality is provided via the Item method. | |
InsertButton InsertSeparator |
Removed | Use the InsertAt method instead. | |
RemoveButton | Renamed | The same functionality is provided via the Delete method. | |
RemoveButtonByPosition | Renamed | The same functionality is provided via the DeleteAt method. | |
MenuItemEnum |
MI_DespeckleImage MI_DespeckleBlock MI_DocumentViewCustomize MI_ChooseTool_DrawBarcodeBlock MI_ConvertImageToBlackAndWhite MI_CustomCommandMax |
Removed | This functionality is no longer supported. |
MI_RotateClockwize MI_RotateCounterClockwize MI_ImageScale_200 MI_ImageScale_100 MI_ImageScale_50 MI_ImageScale_25 MI_ImageScale_FitToWidth MI_ImageScale_FitToHeight MI_ImageScale_BestFit MI_ImageScale_ZoomToSelBlocks MI_ImageScale_800 MI_ImageScale_600 MI_ImageScale_400 MI_ImageScale_300 MI_ImageScale_PixelToPixel MI_DocumentViewThumbnail MI_ChooseTool_AddHorzSeparator |
Renamed |
The new names of the constants:
|
9/17/2024 3:14:41 PM