This section describes how to upgrade from SmartZone 7 to SmartZone 8. While generally you'll be able to replace SmartZone 7 with SmartZone 8, there are a few important changes you may need to consider.
API Changes
SmartZone now can be used on both Windows and Linux under .Net7+. Since .Net7 and above versions do not support System.Drawing namespace on Linux, some API has been changed, removed or replaced.
- Changes
- SmartZoneICRSdk.Zone new structure, which is introduced to replace System.Drawing.Rectangle object.
- SmartZoneICRSdk.Reader.Zone new property to be used instad of "Area".
- SmartZoneICRSdk.Result.Zone new property to be used instad of "Area".
- SmartZoneICRSdk.CharacterResult.Zone new property to be used instad of "Area".
- SmartZoneICRSdk.TextBlockResult.Zone new property to be used instad of "Area".
- SmartZoneICRSdk.TextLineResult.Zone new property to be used instad of "Area".
- SmartZoneICRSdk.Image new class, which is introduced to replace System.Drawing.Bitmap object.
- SmartZoneICRSdk.Reader.AnalyzeField(Image image) new method, which should be used instead of "AnalyzeField" method taking Bitmap.
- SmartZoneICRSdk.Reader.AnalyzeCharacter(Image image) new method, which should be used instead of "AnalyzeCharacter" method taking Bitmap.
- SmartZoneICRSdk.Reader.AnalyzeField(Stream stream) new method, which should be used instead of "AnalyzeField" method taking Bitmap.
- SmartZoneICRSdk.Reader.AnalyzeCharacter(Stream stream) new method, which should be used instead of "AnalyzeCharacter" method taking Bitmap.