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

Concatenates all the lines of text in a multi-line zone, making the zone a single-line zone.

Regardless of parameter values passed to this method, all extra spaces are removed. This function, when used by itself with no other VBScript, preserves the status of all questionable characters in the zone.

Applicable Events

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

Syntax

object.ConcatenateAllLines [ blnInsertSpaces [ , blnHideExtraLines ]]

Parameters

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

ConcatenateAllLines is the command.

blnInsertSpaces is an optional parameter. If it is True (default), a space is placed between every two lines that are concatenated.

blnHideExtraLines is an optional parameter. If it is True (default), all lines except the topmost will be marked as hidden in the Verifier.

Example

MyZone.Line(1).Value = "Text Line1 "

MyZone.Line(2).Value = "Text Line2 "

MyZone.Line(3).Value = "Text Line3 "

MyZone.ConcatenateAllLines