GetBboxPoint Method (Component Object)

Scope: Schematic editor

Object: Component Object

Prerequisites: None

Returns the coordinates of a specified corner of a bounding box.

Usage

Component.GetBboxPoint(ByVal Location As VdCorner) As IVdPoint

Arguments

Note:

All coordinates are measured in 100ths of an inch.

Location

Specifies which location coordinates to return, as described in “VdCorner Enum”.

Return Values

As IVdPoint. The Point Object representing the coordinates.

Examples

This example displays both coordinates.

MsgBox "LowerLeft X=" & Component.GetBboxPoint(VDLOWERLEFT).X & " Y=" & Component.GetBboxPoint(VDUPPERRIGHT).Y