| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function AnalyzeField( _ ByVal handle As IntPtr _ ) As TextBlockResult | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public TextBlockResult AnalyzeField( IntPtr handle ) | |
| Managed Extensions for C++ | |
|---|---|
public: TextBlockResult* AnalyzeField( IntPtr handle ) | |
| C++/CLI | |
|---|---|
public: TextBlockResult^ AnalyzeField( IntPtr handle ) | |
Parameters
- handle
- Handle to a DIB or DDB (device dependent bitmap) on which recogntion will be performed.
Return Value
Results of recognition. See TextBlockResult.| Exception | Description |
|---|---|
| BitDepthException | Thrown when the specified image is not of a supported bit depth (1-, 8-, or 24-bpp). |
| FormatException | Thrown when the image data cannot be read for format reasons other than an unsupported bit depth. |
| InvalidLicenseException | Thrown when the component is not properly licensed to perform the recognition. |
| InvalidAreaException | Thrown when the specified Reader area extends outside of the image boundaries. |
| ArgumentNullException | Thrown when handle argument is equal to IntPtr.Zero. |
Valid image bit depths are 1, 8, and 24 bpp.
Throws an BitDepthException if it is passed an image of unsupported bit depth.
