AddSolution (Method) - 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

Description

This function takes the ASCII data and the area supplied in a Rectangle object and adds an additional solution to the given algorithm.

Applicable Events

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

Syntax

object.AddSolution (strText, objRectArea)

Parameters

Object is a reference to the Algorithm object. For more information, see Algorithm Object (page Algorithm Object).

AddSolution is the command.

strText is the solution to be added.

objRectArea is the rectangle object with the co-ordinates of the supplied solution.

Example

Set r = Application.NewRectangle

r.LeftSide = 0

r.RightSide = 100

r.TopSide = 0

r.BottomSide = 100

strData = "Hello"

MyAlg.AddSolution strData, r