Viscom Software VideoCap ActiveX Control

WMVProfiles.FindWMVProfile Method

Description:   

Search the WMVProfiles Collection for a given string. The string contains the name of a WMV Profile.

Usage:   

WMVProfiles.FindWMVProfile Name

Data Type:   

String

Return Value:   

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

Example:   

This Visual Basic example find the WMVProfile:

WMVProfileIndex = VideoCap1.WMVProfiles.FindWMVProfile "ISDN (28.8kbps)"