AddLabel Method (Net Object)

Scope: Schematic editor

Object: Net Object

Prerequisites: None

Adds a Label Object to the net.

Usage

Net.AddLabel(ByVal Segment As IVdSegment, ByVal String As String, ByVal X As Long, ByVal Y As Long) As IVdLabel

Arguments

Segment

Segment Object with which the label is associated.

String

The text string that defines the label.

X

X coordinate of the label.

Y

Y coordinate of the label.

Return Values

As IVdLabel. The Label Object.

Description

Adds a Label Object located at the coordinates passed and associated with the Segment Object.