AddPoint Method (Line Object)

Scope: Schematic editor

Object: Line Object

Prerequisites: None

Adds a new endpoint to the line.

Usage

Line.AddPoint(ByVal NewPoint As Long) As Boolean

Arguments

NewPoint

New end point (packed). The point passed in is packed into a long, with low word representing the X coordinate and the high word representing the Y coordinate. For example: MAKELONG(X,Y)

Return Values

As Boolean. True - the point was added. False - the point could not be added.

Description

This method allows you to add a new endpoint to a line. Xpedition Designer lines can be polygons (more than 2 points).