Viscomsoft .Net Video Capture SDK

VideoResolution.Height Property

 

Returns the height of video resolution.

VideoResolutions.VideoResolution.Height[=integer]

Parameter
the height of video resolution.

Namespace: Viscomsoft.VideoCapture

Remark
This property is Read.

Example

   

[c# Syntax] 
  public VideoCapture _capture =  new VideoCapture();
  public Devices _devices = new Devices();
  
  _capture.Initialize();
  _devices.Refresh();
  _capture.Window = pictureBox1.Handle;
  _capture.Mode = VideoCapture.CaptureMode.Preview;
  _capture.VideoDevice = _devices.VideoDevices[0];
   for (int i = 0; i < vdevice.VideoResolutions.Count; i++)
  cbovideoformat.Items.Add( vdevice.VideoResolutions[i].Width.ToString() + "X" + vdevice.VideoResolutions[i].Height.ToString());
  _capture.VideoDevice.SelectedResolution = _capture.VideoDevice.VideoResolutions[0];
   AudioDevice myAudioDevice = _devices.AudioDevices[0];
   _capture.AudioDevice = myAudioDevice;
    
   int result= _capture.Start();