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