Viscom Software VideoCap ActiveX Control

GetWMVProfileName Method

Description:   

Return the name of wmv profile for specific index.. In some development tools, you cannot use WMVProfile Object, for this case, this method is useful.

Usage:   

VideoCap1.GetWMVProfileName Parameter1
 

Parameter:

Parameter1 - the index of WMV Profile
 

Return Value:

Return the name of WMV Profile. If the index is not found, return empty string.

Example:   

The Visual Basic.Net example 

For i = 0 To AxVideoCap1.GetWMVProfileCount - 1
strWMVProfileName = AxVideoCap1.GetWMVProfileName(i)
cbowmvprofile.Items.Add(strWMVProfileName)
Next