PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Use conditions
  • Special cases
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Stops playing or recording a video sequence in a Camera control.
Example
// Stops displaying the video sequence currently broadcasted
// 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 find out the error details, use ErrorInfo.
<Camera control>: Control name
Name of Camera control to use.
<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 currently transmitted by a "web camera", use <Camera>.Capture.
  • To display the video sequence currently transmitted by a "web camera" in a Camera control, use <Camera>.Display.
Component : wd240obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Video Stop
https://youtu.be/i1x0L20j-u8
// BTN_FINALIZA VIDEO
CAM_CAMERA.Stop(viStopCapture)
amarildo
29 Aug. 2019