Viscomsoft .Net Video Capture SDK

VideoDevice.FrameRate Property

 

Returns the name of Video Device.

VideoCapture.VideoDevice.FrameRate[=int]

Parameter
the value of frame rate

Namespace: Viscomsoft.VideoCapture

Remark
This property is Read/Write.

Example

   

[c# Syntax] 
  public VideoCapture _capture =  new VideoCapture();
  public Devices _devices = new Devices();
 
  _capture.Initialize();
  _devices.Refresh();
   foreach (VideoResolution videoresolution in _capture.VideoDevice.VideoResolutions)
   {
      if (videoresolution.Name.Equals(cbovideoformat.SelectedItem.ToString()))
      {
       _capture.VideoDevice.SelectedResolution = videoresolution;

        cboframerate.Items.Clear();
         for (int i = videoresolution.MinFrameRate; i <= videoresolution.MaxFrameRate; i++)
              cboframerate.Items.Add(i);

         break;
       }
   }
   _capture.VideoDevice.FrameRate=(int)cboframerate.SelectedItem;