AddAttribute Method (Pin Object)

Scope: Schematic editor

Object: Pin Object

Prerequisites: None

Adds an unattached attribute to the pin.

Usage

Pin.AddAttribute(ByVal String As String, ByVal X As Long, ByVal Y As Long, ByVal Visibility As VdVisibilityFlag) As IVdAttr

Arguments

String

String in the form NAME=VALUE.

X

The X coordinate of the attribute.

Y

The Y coordinate of the attribute.

Visibility

The visibility of the attribute in the form VdVisibilityFlag Enum.

Return Values

As IVdAttr. The newly added Attribute Object.