Viscom Software VideoCap ActiveX Control

VideoFormats.FindVideoFormatWidth Method

Description:   

Search the VideoFormats Collection for a given index. 

Usage:   

VideoFormats.FindVideoFormatWidth index

Data Type:   

Integer

Return Value:   

If the index of a VideoFormat object is given index. The FindVideoFormatWidth method return the width of the VideoFormat in the Collection. If the index is not found, the FindVideoFormatWidth method return -1.

Example:   

This Visual Basic example find the video format width:

width = VideoCap1.VideoFormats.FindVideoFormatWidth (2)