Viscom Software VideoCap ActiveX Control

GetVideoFormatCount Method

Description:   

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

Usage:   

VideoCap1.GetVideoFormatCount
 

Parameter:

No Parameter
 

Return Value:

Return the count for Video Format

Example:   

The Visual Basic.Net example 

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