Rectangle Object - 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

The Rectangle object is a creatable object that is used to represent an area on a two-dimensional surface, such as a data image. The Rectangle object is applicable to the following phases:

  • Post Extraction

  • AnyApp Post Extraction

  • Pre-Verification

  • Interactive

  • Interactive FKey

  • Post Verification

  • AnyApp Pre-Application

  • AnyApp Post-Algorithm

  • AnyApp Post-Application

Property

Description

Applicable Events

AsString

Read-only. This function returns a string representation of the rectangle. For more information, see AsString (Property)(page AsString (Property)).

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

BottomSide

Read-write. An object uses this property to return the Rectangle object. This is the bottom side co-ordinate for the Rectangle. For more information, see BottomSide (Property)(page BottomSide (Property)).

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

CenterPoint

This function returns the Point object representing the center of the rectangle. For more information, see CenterPoint (Property)(page CenterPoint (Property)).

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

Height

Read-only. Returns the height of the rectangle. For more information, seeHeight (Property)(page Height (Property)) .

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

IsEmpty

True is returned if the rectangle has no area. Otherwise, false is returned. For more information, see IsEmpty (Property)(page IsEmpty (Property)).

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

LeftSide

Read-write. An object uses this property to return the Rectangle object. This is the left side co-ordinate for the Rectangle. For more information, see LeftSide (Property)(page LeftSide (Property)).

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

RightSide

Read-write. An object uses this property to return the Rectangle object. This is the right side co-ordinate for the Rectangle. For more information, see RightSide (Property) (page RightSide (Property)).

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

TopSide

Read-write. An object uses this property to return the Rectangle object. This is the top side co-ordinate for the Rectangle. For more information, see TopSide (Property) (page TopSide (Property)).

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

Width

Read-only. Returns the width of the current data image or rectangle. For more information, see Width (Property) (page Width (Property)).

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

Method

Description

Applicable Events

Grow Area

Expands the rectangle size with one call instead of adjusting top, left, bottom, and right separately. For more information, see Grow Area (Method)(page GrowArea (Method)).

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

IntersectRect

This function alters the target rectangle by setting its coordinates to the intersection of the target and source rectangles. For more information, see IntersectRect (Method)(page IntersectRect (Method)).

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

RectanglesIntersect

True is returned if the intersection of the source and target rectangles is filled. For more information, see RectanglesIntersect (Method)(page RectanglesIntersect (Method)).

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

SetRectArea

All four rectangle object coordinates are stored through a single function call. For more information, see SetRectArea (Method) (page SetRectArea (Method)).

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

ShrinkArea

This shrinks the rectangle size with one call instead of adjusting top, left, bottom, and right separately. For more information, see ShrinkArea (Method) (page ShrinkArea (Method)).

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

UnionRect

Alters the target rectangle by setting its coordinates to the union of the target and the source rectangles. For more information, see UnionRect(Method) (page UnionRect(Method)).

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