TerLocateFieldChar
Locate the character with the given field id.
boolean TerLocateFieldChar(FieldId,FieldCode, present, StartLine, StartCol, forward)
int FieldId; | Select one of the following field ids to locate: |
| FIELD_NAME: | Mail-merge field name |
| FIELD_DATA: | Mail-merge field data |
| FIELD_HLINK: | Hyperlink field |
| FIELD_TEXTBOX | Input t text field |
String FieldCode; | Field code associated with Field Id. Pass a null value for the field ids (such as FIELD_NAME and FIELD_DATA) that do not use field code. |
boolean present; | true to test for the presence of the given field id, or false to test for the absence of the given field id. |
int StartLine; | (INPUT/OUTPUT) Specifies the variable to the line number to start the search. Upon a successful search, the line number of the located text be retrieved as following: line=tej.TerGetOutInt("StartLine") |
| int StartCol: | (INPUT/OUTPUT) Specifies the variable to the column number to start the search. Upon a successful search, the column number of the located text be retrieved as following: col=tej.TerGetOutInt("StartCol") |
boolean forward; | true to scan the text in the forward direction, or false to scan the text in the backward direction. |
Return Value: This function returns a true value when successful.