VideoFormats.Item Property

Returns the VideoFormat at the specified position.
Syntax:
Public Item(Index As Long) As VideoFormat
Parameter Description
Index

Specifies the Index of the VideoFormat to return. The Index must lie in int the range [1, VideoFormats.Count ], otherwise an error occurs.

Limitations:

Read only.

Sample:

This example selects the first available video format:

Dim VidFmtCol As VideoFormat
Set VidFmtCol = ICImagingControl1.VideoFormats
ICImagingControl1.VideoFormat = VidFmtCol.Item( 1 )
See also: VideoFormats, VideoFormat, VideoFormats.Count, VideoFormats.FindIndex

<< ICImagingControl.VideoFormats