Viscom Software VideoCap ActiveX Control

VideoFormats.FindVideoFormat Method

Description:   

Search the VideoFormats Collection for a given string. The string contains the name of a Video Format.

Usage:   

VideoFormats.FindVideoFormat Name

Data Type:   

String

Return Value:   

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

Example:   

This Visual Basic example find the video format:

Index = VideoCap1.VideoFormats.FindVideoFormat "VQC1 (160x120)"