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

Given two point objects, this method returns the distance between them.

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.Distance (objPoint1, objPoint2)

Parameters

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

Distance is the command.

objPoint1 is the first point object.

objPoint2 is the second point object.

Example

Set p1 = Application.NewPoint

Set p2 = Application.NewPoint

p1.x = 10

p1.y = 10

p2.x = 20

p2.y = 20

nDist = Application.Distance(p1, p2)