Viscom Software VideoCap ActiveX Control

StillPinVideoFormats.FindVideoFormat Method

Description:   

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

Usage:   

StillPinVideoFormats.FindVideoFormat Name

Data Type:   

String

Return Value:   

If the property Name of a StillPinVideoFormat object is equal to the given string. The FindVideoFormat method return the index of the StillPinVideoFormat 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.StillPinVideoFormats.FindVideoFormat "I420 (640x480)"