• English
  • Deutsch

IC Imaging Control .NET

ICImagingControl.LiveDisplayHeight Property

ICImagingControl.LiveDisplayHeight Property

Returns or sets the height of the video display window.
public int LiveDisplayHeight;

The LiveDisplayHeight property is used to set a new height for the display window of the live video. If LiveDisplayHeight is set to a value different from the video format's height, the video image is distorted.

If the LiveDisplayHeight and the LiveDisplayWidth properties are changed, but the video image's ratio is preserved, the live video appears to be zoomed in or out. With these properties, the live video image can be fitted into IC Imaging Control's window.

Passing a value to LiveDisplayHeight takes only an effect, if the LiveDisplayDefault property was set to False. If the LiveDisplayDefault property is set to True, the LiveDisplayHeight property's value is reset to the video formats height.

The LiveDisplayHeight property's unit is pixel.


This example demonstrates how to fit the live video display in IC Imaging Control's window.

// Disable the default values of the live display. ICImagingControl1.LiveDisplayDefault = false; // Set the width and height of the live video display to // the width and height of IC Imaging Control. Now, the // live video image fits into IC Imaging Control's window. ICImagingControl1.LiveDisplayHeight = ICImagingControl1.Height; ICImagingControl1.LiveDisplayWidth = ICImagingControl1.Width; // Start the live video to see the result. ICImagingControl1.LiveStart();
See also: ICImagingControl, ICImagingControl.LiveDisplayDefault, ICImagingControl.LiveDisplayLeft, ICImagingControl.LiveDisplayTop, ICImagingControl.LiveDisplayWidth, ICImagingControl.LiveDisplayZoomFactor, ICImagingControl.ScrollBarsEnabled

<< ICImagingControl

Get in touch with us

About The Imaging Source

Established in 1988, The Imaging Source is one of the leading manufacturers of industrial cameras, video converters and embedded vision components for factory automation, quality assurance, medicine, science, security and a variety of other markets.

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

ISO 9001:2015 certified MVTEC | Edge AI + Vision Alliance | EMVA

Contact us