Line Object

The Line Object represents a graphical line in a schematic.

The following table lists methods and properties of the Line object with links to the respective reference pages.

Table 1. Line Object Methods and Properties

Method or Property

Description

AddPoint Method (Line Object)Adds a new endpoint to the line.
GetNumPoints Method (Line Object)Returns the number of points in the line.
GetObjectColor Method (Line Object)Gets the color in which the line is drawn.
GetObjectFillColor Method (Line Object)Gets the fill color for the line.
GetPoint Method (Line Object)Returns the coordinates of the specified Point Object.
IsColorAutomatic Method (Line Object)Determines if the line has an automatic color set for it.
IsFillColorAutomatic Method (Line Object)Determines if the line has been assigned an automatic fill color.
SetAutomaticColor Method (Line Object)Sets or unsets the color of a line object as the automatic color for lines.
SetAutomaticFillColor Method (Line Object)Sets or unsets the fill color of a line object as the automatic fill color for lines.
SetObjectColor Method (Line Object)Sets the color in which the line is drawn.
SetObjectFillColor Method (Line Object)Sets the fill color for the line.
Application Property (Line Object)Returns the Application Object.
LineStyle Property (Line Object)Returns or sets the style for the line.
Parent Property (Line Object)Returns the parent Attribute Object for the line.
Selected Property (Line Object)Sets the selection status for the line.
Type Property (Line Object)Returns the value VDTS_LINE, indicating that the object is a line.