AddAttribute Method (ComponentPin Object)

Scope: Schematic editor

Object: ComponentPin Object

Prerequisites: None

Adds an attribute to the component pin at the coordinates passed.

Usage

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

Arguments

text

Attribute string of the form NAME=VALUE.

X

X coordinate of attribute.

Y

Y coordinate of attribute.

Visibility

This argument specifies the visibility of the attribute in the form VdVisibilityFlag Enum.

Return Values

As IVdAttr. The newly created Attribute Object.