Viscom Software VideoCap ActiveX Control

GetVideoInputName Method

Description:   

Return the name of Video Input for specific index.. In some development tools, you cannot use VideoInput Object, for this case, this method is useful.

Usage:   

VideoCap1.GetVideoInputName Parameter1
 

Parameter:

Parameter1 - the index of Video Input
 

Return Value:

Return the name of Video Input. If the index is not found, return empty string.

Example:   

The Visual Basic.Net example 

For i = 0 To AxVideoCap1.GetVideoInputCount - 1
strVideoInputName = AxVideoCap1.GetVideoInputName(i)
cbovideoinput.Items.Add(strVideoInputName)
Next