PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Use conditions
  • Special cases
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
<Camera>.Stop (Function)
In french: <Caméra>.Arrête
Stops playing or recording a video sequence in a Camera control.
Example
// Stops playing the video sequence currently transmitted
// in the "CAM_Kitchen" control
ResStop = CAM_Kitchen.Stop(viStopDisplay)
Syntax
<Result> = <Camera control>.Stop([<Action to stop>])
<Result>: Boolean
  • True if the display and/or the recording in the Camera control is stopped properly,
  • False if an error occurred. To get the details of the error, use ErrorInfo.
<Camera control>: Control name
Name of the Camera control to be used.
<Action to stop>: Optional integer constant
Type of action to stop:
viStopDisplayStops displaying the video. The specified Camera control becomes empty.
viStopCaptureStops recording the video. The generated file is available.
viStopAll
(Default value)
Stops displaying and recording the video. The generated file is available. The specified Camera control becomes empty.
Remarks

Use conditions

  • Windows To use this function, a "camera" must be connected to the current computer.

Special cases

  • To save the video being transmitted by a "Web camera", use <Camera>.Capture
  • To display the video sequence being transmitted by a "Web camera" in a Camera control, use <Camera>.Display.
Component: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment