Solution Object - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License

The Solution object represents a single solution to an algorithm. This object does not apply to the Column or Column Translator algorithms, which use the Column Solution object.

The Solution object is applicable to the following phases:

  • AnyApp Pre-Application

  • AnyApp Post-Algorithm

  • AnyApp Post-Application

Property

Description

Applicable Events

Area

Read-write. Accesses the Rectangle object that contains the location of the ASCII value stored in the given Solution object. For more information, see Area (Property) (page Area (Property)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

Checked

Read-write. Gets or sets the checked status that is stored in the Solution object. For more information, see Checked (Property)(page Checked (Property)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

Flagged

Read-write. This property indicates if the object has been flagged by the system for Verification (causing the Verifier to stop on the processed zone). For more information, see Flagged (Property) (page Flagged (Property)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

IsMultiLine

Read-only. Indicates whether or not the given solution stores a multi-line solution. For more information, see IsMultiLine (Property)(page IsMultiLine (Property)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

KeyWord

Read-only. Returns the KeyWord object that represnts the KeyWord that was used to locate the given solution. For more information, see KeyWord (Property)(page KeyWord (Property)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

NumericValue

Read-only. Returns the value of the given object as a floating point numeric value. For more information, see NumericValue (Property) (page NumericValue (Property)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

QuesChar

Read-write. Given a position within the ASCII solution data (1 ≤ nChar ≤ Len(objSoln.Value)), this property allows for the querying or setting of the questionable status of that particular character. For more information, see QuesChar (Property)(page QuesChar (Property)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

Value

Read-write. Gets or sets the ANSI data for the given object as a numeric or string expression. For more information, seeValue (Property) (page Value (Property)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

WordCount

Read-only. Returns the number of words, or tokens, that comprise the ASCII value of the given object. For more information, see WordCount (Property) (page WordCount (Property)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

Method

Description

Applicable Events

AddressPart

When applied to a solution of an algorithm that is designed to retain address blocks, this method returns a parsed and corrected portion of the address based on the value passed into it. For more information, see AddressPart (Method) (page AddressPart (Method)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

GetRawTokenOffset

Returns the position of the given solution from within the entire set of raw tokens. For more information, see GetRawTokenOffset (Method) (page GetRawTokenOffset (Method)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

PrepareAddress

Parses the given solution, optionally using AccuZip, according to the parameters defined for its algorithm in the Address Extraction Area. For more information, see PrepareAddress (Method) (page PrepareAddress (Method)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

Word

Given a number (1 ≤ nNumber ≤ objSoln.WordCount), this method returns the word in the solution at that position. For more information, see Word (Method) (page Word (Method)).

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application