SetFromText()


Description

The SetFromText() method will try to set an output field value based on a provided text selection.

Syntax

Function SetFromText( index|name, tag, x, dx, y, dy, bottom )

Parameters:

variant index or name 
 integer index - field index (starting from 1)
 string name - the name of the output field
string tag - the input tag string
integer x   - position from the left
integer dx - width of the text block
integer y  - line number from the top
integer dy - number lines in the text block
string bottom - the bottom delimiter

Return Values

boolean - true on success
An exception is thrown on an error

See also