SmartZone v8.0 - Updated January 12, 2025
Accusoft.SmartZoneOCR.Net Assembly / Accusoft.SmartZoneOCRSdk Namespace / Reader Class / AnalyzeField Method / AnalyzeField(Stream) Method
The data stream containing an image.




AnalyzeField(Stream) Method
Runs analysis of a field on the image stream.
Syntax
'Declaration
 
Public Overloads Function AnalyzeField( _
   ByVal imageStream As Stream _
) As TextBlockResult
 
'Usage
 
Dim instance As Reader
Dim imageStream As Stream
Dim value As TextBlockResult
 
value = instance.AnalyzeField(imageStream)

Parameters

imageStream
The data stream containing an image.

Return Value

TextBlockResult from recognition
Exceptions
ExceptionDescription
Supported bit depths are 1-, 8-, 24- and 32-bits per pixel.
The image data cannot be read for format reasons other than an unsupported bit depth.
An invalid license is being used.
An area coordinate is outside the current image.
The stream cannot be null.
Remarks

The picture must be presented in one of the following formats:

BMP, CLP, CUR, DIB, DNG, GIF, JPEG, PNG, TIFF

The only first page of the multipage file will be used.

See Also