InsertBefore
This method inserts a text in the worktext object before the specified index.
Syntax
InsertBefore (CharIndex as Long, value as String, Confidence as Long, Top as Long, Left as Long, Height as Long, Width as Long)
Parameter | Description |
---|---|
CharIndex | Character index before which the text is inserted. |
Value | Added string or character value. |
Confidence | Confidence of the added value.
Possible values 0 to 100, where 0 means that the recognition is unconfident, and 100 means that the recognition is confident. Optional parameter. The default value is 100. |
Top | Top position of the characters in pixels.
Optional parameter. The default value is 0. |
Left | Left position of the characters in pixels.
Optional parameter. The default value is 0. |
Height | Height of the characters in pixels.
Optional parameter. The default value is 0. |
Width | Width of the characters in pixels.
Optional parameter. The default value is 0. |