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

Deletes the specified line number from all text zones associated with a Group Column zone or an AnyApp grid.

This method is not supported in the Edit Line Verification window because it requires a grid. Therefore, this method can only be used in the Key From Image Verification window.

Applicable Events

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

Syntax

object.DeleteLineFromGrid (nLineNumber)

Parameters

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

DeleteLineFromGrid is the command.

nLineNumber is the line number to delete.

Example

‘ remove all lines except for top 2

For I = MyGridZone.LineCount to 2 Step -1

MyGridZone.DeleteLineFromGrid I

Next I