Addon.Webcam.SetFrameRate()

Description

Sets the frame rate of the current webcam.

Syntax

.Addon.Webcam.SetFrameRate(int value);

Parameters

<int> value: Specifies the frame rate to use.

Return value

bool

true indicates success. false indicates failure.

Remarks

The method should be called after Addon.Webcam.SelectSource. If there is only one data source available, it will be selected automatically.

Example

if (DWObject)
  {
   DWObject.Addon.Webcam.SetFrameRate("30");
  }

See Also

Addon.Webcam.GetFrameRate()

Is this page helpful?

Leave a Reply

Your email address will not be published.