User Guide > How to Work with... > Recognition > Migrating from ImageGear v16 Recognition > API Elements Modified in ImageGear v17.3 |
The following API elements have been modified in ImageGear for .NET v17.3:
ImageGear 16.2 |
ImageGear 17.3 |
BARCODE OMR HANDPRINT BRAILLE MICR BARCODE2D DOTDIGIT DASHDIGIT ASIAN |
Removed Removed Removed Removed Removed Removed Removed Removed Removed |
ImageGear 16.2 |
ImageGear 17.3 |
OCR ICR OMR BARCODE_BASIC BARCODE_ADVANCED |
Renamed to Ocr Removed Removed Removed Removed |
|
New value: FormattedOutput |
ImageGear 16.2 |
ImageGear 17.3 |
RESERVED0 RESERVED1 |
Removed Removed |
|
New values: ENDOFROW INTABLE TEXT_DIR_MASK NORMTEXT VERTTEXT LEFTTEXT RIGHTTEXT |
ImageGear 16.2 |
ImageGear 17.3 |
BAR OMR HNR RER BRA MAT BAR2D ASN |
Removed Removed Removed Removed Removed Removed Removed Removed |
|
New value: XOCR |
This enumeration has been completely replaced with new values. See the ImageGear for .NET v17.3 documentation for new descriptions.
ImageGear 16.2 |
ImageGear 17.3 |
FULLFORMAT PARTFORMAT DROPFORMAT RFC |
Removed Removed Removed Removed |
|
New values: AUTO NOFORMAT RFP TRUEPAGE FLOWINGPAGE SPREADSHEET |
ImageGear 16.2 |
ImageGear 17.3 |
BAR OMR HNR RER BRA MAT BAR2D ASIAN |
Removed Removed Removed Removed Removed Removed Removed Removed |
ImageGear 16.2 |
ImageGear 17.3 |
OTHER FOOTER SGRAPHIC HEADER CAPTION COLUMN |
Removed Removed Removed Removed Removed Removed |
|
New values: IGNORE LEFTTEXT RIGHTTEXT |
ImageGear 16.2 |
ImageGear 17.3 |
API_KEYCODE_ERR BAR2D_INIT_ERR BAR_INVALID_CODE_ERR BAR_NOT_DEFINIT_ERR BAR_NOT_ENOUGH_MEMORY_ERR BAR_NO_CODE_ERR FILE_SHARE HNR_SYNTAX_WARN HNR_TBSCORRUPTED_ERR MAT_INIT_ERR OMR_ERR RER_INTERNAL_ERR RER_NOCHARSET_SET_ERR RER_NOKNOWLEDGEFILE_ERR RER_NOTSUPPORTED_CHARSET_ERR RER_SPECFILE_NOTFOUND_ERR TMP_BADICF_ERR TMP_BADPARAMETER_ERR TMP_CLOSE_ERR TMP_CREATEFILE_ERR TMP_DLLLOAD_ERR TMP_ENDOFFILE_ERR TMP_FILENOTFOUND_ERR TMP_INFOFULL_ERR TMP_MEMNOTFOUND_ERR TMP_MEM_ERR TMP_MUSTINIT_ERR TMP_NOCONVERTER_ERR TMP_NOIMAGEFILE_WARN TMP_NOMORE_WARN TMP_READ_ERR TMP_SEEKFILE_ERR TMP_WRITE_ERR TXT_W4WBADOPTION_ERR TXT_W4WCANCELED_ERR TXT_W4WCREATEFILE_ERR TXT_W4WENCRYPTEDSRC_ERR TXT_W4WEXCWRITE_ERR TXT_W4WFATALINTERNAL_ERR TXT_W4WFILENOTFOUND1_ERR TXT_W4WFILENOTFOUND2_ERR TXT_W4WINVDATA_ERR TXT_W4WINVDOC_ERR TXT_W4WMEMNOTFOUND_ERR TXT_W4WREAD_ERR TXT_W4WSEEKFILE_ERR TXT_W4WTOOLARGE_ERR TXT_W4WWARNING_ERR TXT_W4WWRITE1_ERR TXT_W4WWRITE2_ERR ZONE_NOMORE_WARN |
Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed Removed |
|
New values: FILE_SHARE_ERR FILE_ALREADYEXIST_ERR FILE_INVALIDFLAG_ERR FILE_INVALIDPARAMETER_ERR FILE_LOCKVIOLATION_ERR FILE_DIRNOTEMPTY_ERR FILE_INVALIDHANDLE_ERR FILE_MUTEX_NOTAVAILABLE_ERR FILE_CANTCREATE_MUTEX_ERR FILE_CANTRELEASE_MUTEX_ERR FILE_QUIT_ERR FILE_NOT_IMPLEMENTED_ERR FILE_INVALIDPOINTER_ERR FILE_INVALIDFUNCTION_ERR CHR_MULTIPLELANG_FOUND_WARN CHR_LANG_NOTFOUND_ERR API_LICENSE_ERR API_FILEFORMAT_ERR API_INVALIDSESSION_ERR API_DOTNET30_OR_LATER_MISSING_ERR API_CRYPT_MISS_WARN API_HARDTIMEOUT_ERR IMF_READ_ERR IMF_WRITE_ERR IMF_INIT_ERR IMF_OPEN_ERR IMF_CLOSE_ERR IMF_CREATE_ERR IMF_MEMORY_ERR IMF_NOTSUP_ERR IMF_TAGMISSING_ERR IMF_COMP_ERR IMF_IMGFORM_ERR IMF_PAGENUM_ERR IMF_FILEFORMAT_ERR IMF_COLOR_ERR IMF_TMPFILE_ERR IMF_APPEND_ERR IMF_FILENOTEMPTY_ERR IMF_FAXVIEWMISS_ERR IMF_PASSWORD_WARN IMF_EMPTYHANDLE_WARN IMF_READ_WARN IMF_COMP_WARN IMG_INVALIDOP_ERR IMG_ZONE_ERR IMG_DPI_WARN IMG_ANCHOR_WARN IMG_ANCHORNOTFOUND_ERR PAGE_NOTFOUND_ERR PAGE_HANDLE_ERR ZONE_NOTFOUND_WARN ZONE_SHAPE_ERR ZONE_IMAGE_DOWNSAMPLED_WARN ZONE_SIZE_WARN ZONE_NO_FIELDNAME_WARN EXTRACTED_TXT_WARN SPL_EXISTSECT_WARN APIP_INIT_ERR APIP_PARAM_ERR APIP_NOMORE_WARN APIP_INTERNAL_ERR L_WARNINGS L_WARNING_NOTFOUND L_WARNING_NOTOPENED L_WARNING_MISSING L_WARNING_SUBSTITUTED L_ERRORS L_ERROR_NOID L_ERROR_OBJID L_ERROR_OBJTYPE L_ERROR_FILE L_ERROR_FILE_OPEN L_ERROR_FILE_CLOSE L_ERROR_FILE_SEEK L_ERROR_FILE_READ L_ERROR_FILE_WRITE L_ERROR_FILE_FORMAT L_ERROR_PARAMETER L_ERROR_RANGE L_ERROR_CALL L_ERROR_CONVERTER L_ERROR_BADVERSION L_ERROR_IMAGE L_ERROR_DTK L_ERROR_READONLY L_ERROR_OUTPUT_MODE L_ERROR_APPSET L_ERROR_PRERENDERING L_ERROR_NOACCESS L_ERROR_NOTIMPLEMENTED L_ERROR_MASTERSOFT L_ERROR_ABORTED L_ERROR_CONV_NODOCUMENT L_ERROR_CONV_LECSO L_ERROR_TOO_MANY_SHEETS L_ERROR_DOCFORMATTER L_ERROR_STOP L_FATALERRORS L_FERROR_MEMORY L_FERROR_INTERNAL L_FERROR_FILEFORMAT L_FERROR_INDEX L_FERROR_RECAPI L_FERROR_NOSET L_FERROR_PERMISSION L_FERROR_MISSING FRX_INIT_ERR ASN_INIT_ERR MNG_INIT_ERR STSMN_HANDLE_ERR STSMN_NOSETTING_ERR STSMN_BADTYPE_ERR STSMN_OPNOTALLOWED_ERR STSMN_PARAMETER_ERR STSMN_INVALIDFILE_ERR STSMN_NOTFOUND_ERR STSMN_FULLSAVEDTREE_WARN STSMN_BADORMISSINGREF_ERR |
Public fields have been replaced with properties.
ImageGear 16.2 |
ImageGear 17.3 |
Fields: System.String Name System.String Description ImGearRecOutputCodePageType Type |
Properties: System.String Name {get;} System.String Description {get;} ImGearRecOutputCodePageType Type {get;} |
Public fields have been replaced with properties.
ImageGear 16.2 |
ImageGear 17.3 |
Fields: ImGearRectangle Rect Int16 Baseline Byte Space Char Code Byte Err ImGearRecFontFlags Font Byte FontSize
ImGearRecLanguage Lang ImGearRecLanguage Lang2 public UInt16 Zone |
Properties: IImGearRectangle Rect {get; } UInt16 Baseline { get; set; } Replaced with UInt16 SpacesCount {get; set;} Replaced with Char Code {get; set;} Replaced with Byte ConfidenceInfo {get; set;} Replaced with FontAttribute {get; set;} Replaced with UInt16 CapitalLetterHeight {get; set;}. See documentation for details. Replaced with Language {get; set;} Replaced with AlternativeLanguage {get; set;} public UInt16 ZoneIndex {get; set;} |
Byte SpaceErr Char Code2 Char Code3 UInt16 CellNum |
Removed Removed Removed Removed |
|
New properties: Byte UnderlineDotWidth {get; set;} Byte UnderlineGapWidth {get; set;} ImGearRecSpaceType SpaceType {get; set;} UInt16 SpacesCount {get; set;} |
ImageGear 16.2 |
ImageGear 17.3 |
Properties: ImGearRecBARSettings BAR ImGearRecHNRSettings HNR ImGearRecOMRSettings OMR |
Removed Removed Removed |
ImageGear 16.2 |
ImageGear 17.3 |
Boolean Resident System.String SpecParams |
Removed Removed |
Public fields have been replaced with properties.
ImageGear 16.2 |
ImageGear 17.3 |
Fields: System.String Name System.String DefaultFileExtension
ImGearRecOutputCodePageType CodePageType System.String DLLFileName ImGearRecOutputFormatType OutputType |
Properties: System.String Name {get;} System.String DefaultFileExtension {get;}
Removed Removed Removed |
ImageGear 16.2 |
ImageGear 17.3 |
Void WriteDocument(System.String) Void WriteDocument(System.String, System.String)
|
Void WriteDocument(ImGearRecDocument, System.String) – for formatted output Void WriteDirectText(ImGearRecPage, System.String) and Void WriteDirectText(ImGearRecPage[], System.String) – for direct text output. |
System.String Format
|
Now only affects the formatted output. For direct text output, use the property ImGearRecDirectTextFormat DirectTextFormat |
Void WriteDocumentToMemory() Void WriteDocumentToMemory(System.String) ImGearRecOutputParams GetParamsCopy() Void UpdateParamsFrom( ImGearRecOutputParams) System.String OutputText |
Removed Removed Removed
Removed Removed |
ImageGear 16.2 |
ImageGear 17.3 |
Methods: Void RecognizeToMemory() Void Recognize(System.String) Void WriteRecognitionData(System.String) |
Removed Removed Removed |
|
New property: Boolean IsValid { get; } |
ImageGear 16.2 |
ImageGear 17.3 |
Properties: Int32 CharCount Int32 RejectedCharCount |
Removed Removed |
ImageGear 16.2 |
ImageGear 17.3 |
Methods: Boolean IsCharEnabled(Char) Properties: Boolean KeepGraphics ImGearRecLanguage[] SpellingLanguages |
Removed
Removed Replaced with ReadOnlyCollection< ImGearRecLanguage> SpellingLanguages |
Public fields have been replaced with properties.
ImageGear 16.2 |
ImageGear 17.3 |
Fields: System.String ItemText System.String SectionName Boolean IsRegExp |
Properties: System.String ItemText {get; set;} System.String SectionName {get; set;} Boolean IsRegExp {get; set;} |
Public fields have been replaced with properties.
ImageGear 16.2 |
ImageGear 17.3 |
Fields: ImGearRectangle Rect ImGearRecFillingMethod FillingMethod ImGearRecRecognitionModule RecognitionModule ImGearRecFilter Filter ImGearRecZoneType Type ImGearRecZoneCheckingFlags Checking System.String UDSectionName System.Object UserData |
Properties: IImGearRectangle Rect {get; } ImGearRecFillingMethod FillingMethod {get; set;} ImGearRecRecognitionModule RecognitionModule {get; set;} ImGearRecFilter Filter {get; set;} ImGearRecZoneType Type {get; set;} ImGearRecZoneCheckingFlags Checking {get; set;} System.String UserDictionarySection {get; set;} System.Object UserData {get; set;} |
Int32 ID |
Removed |