IC Imaging Control .NET

ICImagingControl.VideoFormatCurrent Property

ICImagingControl.VideoFormatCurrent Property

Returns the selected Videoformat object.
Syntax:
[VB.NET]
Public VideoFormatCurrent As TIS.Imaging.VideoFormat
[C#]
public TIS.Imaging.VideoFormat VideoFormatCurrent;
Information:

Introduced in version 3.1

Sample:

This example shows how to query the current used video format and show its height:

[VB.NET]
Dim MyVideoFormat As TIS.Imaging.VideoFormat MyVideoFormat = IcImagingControl1.VideoFormatCurrent If Not MyVideoFormat Is Nothing Then Console.WriteLine("Current video format height is " + MyVideoFormat.Height.ToString()) Else Console.WriteLine("Currently no device opened") End If
[C#]
TIS.Imaging.VideoFormat CurrentVideoFormat = null; CurrentVideoFormat = ICImagingControl1.VideoFormatCurrent; if (CurrentVideoFormat != null) { Console.WriteLine("Current video format height is " + CurrentVideoFormat.Height.ToString() ); } else { Console.WriteLine("Currently no device opened"); }
See also: VideoFormat

<< 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