GetDistance Method

See Also     Examples     Applies To

This function returns the distance in inches between 2 points of the native GdPicture image.

Syntax

object.GetDistance (nLeft1, nTop1, nLeft2, nTop2)

The GetDistance syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nLeft1 Required. Long. Specifies the x-coordinate of the first point in pixel.
nTop1 Required. Long. Specifies the y-coordinate of the first point in pixel.
nLeft2 Required. Long. Specifies the x-coordinate of the second point in pixel.
nTop2 Required. Long. Specifies the y-coordinate of the second point in pixel.

Returns

Double.

Category

Standalone Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.