Label Property (Component Object)

Scope: Schematic editor

Object: Component Object

Access: Read-Only

Prerequisites: None

Returns a label object.

Usage

Component.Label

Arguments

None

Return Values

IVdLabel. The Label Object for this component. If no label is present on the component, a NULL string returns.

Examples

This example tests for the existence of a label.

If Component.Label Is Nothing Then 
    MsgBox "No Label was Assigned" 
Else 
    Msgbox "Label is Present and Is=	"& Label.TextString 
End If