Help / Developing an application or site / Controls, windows and pages / Controls: Available types / Camera control
  • Overview of the Camera control
  • Window control
  • Creating a Camera control in a WINDEV window
  • Viewing a video sequence
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Overview of the Camera control

Window control

The Camera control is used to:
You can save this video or save a video snapshot.
This help page presents the use of the Camera control in a WINDEV window. For WINDEV Mobile, see Camera control (mobile application).

Creating a Camera control in a WINDEV window

To create a Camera control:
  1. On the "Creation" tab, in the "Graphic controls" group, expand "Video and capture" and select "Camera".
  2. Click at the desired location to create the control. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu.
The Camera control can be handled programmatically using the Camera functions.
Remark: These functions are also available with a prefix syntax. For more details, see Camera functions (Prefix syntax).
  • The Camera control operates with all the Windows versions, regardless of the driver installed, via the DirectShow technology. The behavior of the previous versions can be restored by selecting the "Use the former 'Video for Windows' APIs (compatibility)" option.
    Remark: A Camera control that uses the DirectShow technology and a compatible Camera control should not be used in the same window.
  • To retrieve an image transmitted by a Camera, specify the video driver used ("General" tab in the control description window). This driver can be defined programmatically with the Driver property or the CameraChangeDriver function.
Viewing a video sequence
Only the video being captured can be viewed in a Camera control.
To view:
Related Examples:
WD WebCam Complete examples (WINDEV): WD WebCam
[ + ] This example explains how to include a WebCam in a WINDEV application.
The following topics will be presented in this example:
1/ Camera control
2/ Use of the video functions

Summary of the example supplied with WINDEV:
This example explains how a WebCam can be included in a WINDEV window.
You have the ability to view the image captured by the camera, to perform an instant capture and to film the scene broadcasted as a Windows animation (AVI).
The Camera control Unit examples (WINDEV Mobile): The Camera control
[ + ] Using the Camera control in a WINDEV Mobile application.
The control is used to capture photos and videos.
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help