DPoint Object

Service object used to store coordinates of a point, used in coordinate transformations.

Properties

X

Gets or sets a Double value, representing the X coordinate of the point.

Y Gets or sets a Double value, representing the Y coordinate of the point.

Methods

Equal Copies properties of an object of the same type.

Remarks

Note, that an instance of the object should be created prior to using it (before or after its declaration). The example below demonstrates how to do it:

Example

' The New keyword is used to create a new instance of the object
Dim MyObject as new DPoint

' one more method for creating an instance of the object
Dim MySecondObject as DPoint
set MySecondObject = new DPoint

 

See Also

DRect Object, Dim Statement , Set Statement, LPtoGP Method, LPtoWP Method, WPtoLP Method