IC Imaging Control ActiveX

ICImagingControl.VideoFormat Property

ICImagingControl.VideoFormat Property

Returns or sets the video format of the current video capture device. A list of available video formats can be obtained using the VideoFormats collection, which can be retrieved with a call to ICImagingControl.VideoFormats.
Syntax:
Public VideoFormat As String
Limitations:

Only available when a device is open and valid. Not available in live mode.

Remarks:

When the video format is invalidated, the first available video format for the device is selected.

The video format depends on the current video norm. So changing the ICImagingControl.VideoNorm property, will invalidate the video format.

Changing the video format invalidates the ICImagingControl.DeviceFrameRate property.

Sample:

This example selects the first video format that is supported by the current video capture device:

Dim Fmt As VideoFormat
Set Fmt = ICImagingControl1.VideoFormats.Item( 1 )
ICImagingControl1.VideoFormat = Fmt.Name
See also: ICImagingControl, ICImagingControl.VideoFormats, VideoFormats

<< ICImagingControl

Get in touch with us


About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us