Please enable JavaScript to view this site.

uEye .NET Manual 4.97

Class

uEye.DisplayAutoRender

Accessible

Camera.Display.AutoRender.SetEnable

Syntax

uEye.DisplayAutoRender.SetEnable(bool enable)

Description

Enables/disables the auto render.

Parameter

enable

true = Enable auto render.

false = Disable auto render.

Example

PictureBox pictureBox = new PictureBox();
pictureBox.Size = new System.Drawing.Size(1920,1080);
pictureBox.Location = new System.Drawing.Point(10, 10);
this.Controls.Add(pictureBox);
 
uEye.Defines.Status nRet = 0;
uEye.Camera hCam = new Camera();
nRet = hCam.Init(0, pictureBox.Handle);
nRet = hCam.Memory.Allocate();
nRet = hCam.Acquisition.Capture(uEye.Defines.DeviceParameter.Wait);
hCam.Display.AutoRender.SetEnable(true);