GrowArea (Method) - GrowArea (Method) - AnyDoc - OCR for AnyDoc - AnyDoc/OCR-for-AnyDoc/Foundation-23.1/OCR-for-AnyDoc-Programming-Reference-Guide/VBScript-Objects-Properties-and-Methods/Individual-Object-Methods/GrowArea-Method - Foundation 23.1 - Foundation 23.1

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License
ft:lastPublication
2026-10-21T08:07:08.864000
ft:locale
en-US

Description

This expands the rectangle size with one call instead of adjusting top, left, bottom, and right separately.

Applicable Events

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

Syntax

object.GrowArea nPixels

Parameters

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

GrowArea is the command.

nPixels is the number of pixels to expand the rectangle.

Example

Set r = MyZone.Line(1).Area

r.GrowArea 10

MyZone.Line(1).Area = r