Viscom Software VideoCap ActiveX Control

GetVideoFormatName Method

Description:   

Return the name of Video Format for specific index.. In some development tools, you cannot use VideoFormat Object, for this case, this method is useful.

Usage:   

VideoCap1.GetVideoFormatName Parameter1
 

Parameter:

Parameter1 - the index of Video Format
 

Return Value:

Return the name of Video Format. If the index is not found, return empty string.

Example:   

The Visual Basic.Net example 

For i = 0 To AxVideoCap1.GetVideoFormatCount - 1
strVideoFormatName = AxVideoCap1.GetVideoFormatName(i)
cbovideoformat.Items.Add(strVideoFormatName)
Next