Viscomsoft .Net Video Capture SDK

VideoResolutions[Index] Property

 

You can retrieve VideoResolution object from VideoResolutions collection.

VideoDevice.VideoResolutions[index]


Namespace: Viscomsoft.VideoCapture

Remark
Returns the VideoResolution object at the specified position.

Example

   

[c# Syntax] 
  public VideoCapture _capture =  new VideoCapture();
  public Devices _devices = new Devices();
 
  _capture.Initialize();
  _devices.Refresh();
   VideoDevice vdevice = _devices.VideoDevices[0];
   _capture.VideoDevice = vdevice;
    cbovideoformat.Items.Clear();
   
   for (int i = 0; i < vdevice.VideoResolutions.Count; i++)
       cbovideoformat.Items.Add(vdevice.VideoResolutions[i].Name);