OScript API/Built-in Package Index

Class: Point

The Point datatype is a deprecated type formerly used with the Livelink Client GUI Framework. It remains in place for use by certain legacy components and should not be used for new development.

The Point datatype allows two numerical values, or coordinates, to be stored within a single value. These coordinates can range from -32768 to +32767. Performing arithmetic or trying to create a Point with coordinates outside of this range will result in undefined behavior.

The coordinates for a Point are accessed by the two built-in functions, PointH() and PointV(), which access the Horizontal and Vertical coordinate.

Points can be added or subtracted, in which case corresponding coordinates are added or subtracted.

An Integer can be added to a Point, which results in the Integer being added to both coordinates.

 Copyright © 2023 OpenText Corporation. All rights reserved.