GetLocation Method (Attribute Object)

Scope: Schematic editor

Object: Attribute Object

Prerequisites: None

Returns the coordinates of the attribute taking the form of a Point Object.

Note:

All coordinates are measured in 100ths of an inch.

Usage

Attribute.GetLocation() As IVdPoint

Arguments

None

Return Values

As IVdPoint. The coordinates of the attribute.

See Point Object for more information.

Examples

This example displays a message box with the coordinates of an attribute.

MsgBox "Attribute is at X=" & Attr.GetLocation().X & " Y=" & Attr.GetLocation().Y