Viscom Software VideoCap ActiveX Control

VideoInputs.FindVideoInput Method

Description:   

Search the VideoInputs Collection for a given string. The string contains the name of a Video Input.

Usage:   

VideoInputs.FindVideoInput Name

Data Type:   

String

Return Value:   

If the property Name of a VideoInput object is equal to the given string. The FindVideoInput method return the index of the VideoInput in the Collection. If the string is not found, the FindVideoInput method return -1.

Example:   

This Visual Basic example find the Video Input:

VideoInputIndex = VideoCap1.VideoInputs.FindVideoInput "S-Video"