InsertLine (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

Inserts a line before or after the specified line number.

Applicable Events

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

Syntax

object.InsertLine (vbInsertBefore, nLineNo)

Parameters

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

InsertLine is the command.

vbInsertBefore indicates if the line should be inserted before (vbTrue) or after (vbFalse) the specified line.

nLineNo indicates the line number that the new line should be inserted before or after.

Example

Set oLine = Zone1.InsertLine(vbFalse,1)

oLine.Value = "Line 2"

Zone1.AddLine.Value = "Line 3"

Zone1.InsertLine(vbTrue,1).Value = "Line before Line 1"