Scope: Schematic editor
Object: View Object
Prerequisites: None
Selects text strings that match the regular expression.
View.SelectText(ByVal Pattern As String, ByVal Type As Long, ByVal ApplyToSelected As VdAllOrSelected)
Regular expression that will be compared to text strings.
Indicates the kind of object to consider: VDTS_TEXT, VDTS_ATTRIBUTE, or VDTS_LABEL.
Indicates whether to consider all objects or just the selected objects. This is of the form VdAllOrSelected Enum.
If ApplyToSelected is False, then the comparison is to all the text in the view. If ApplyToSelected is True, then the comparison is restricted to the current selection list. Either way, the selection list will only contain the text objects that match the pattern after applying this method.