PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode of the Camera control when displaying dialog boxes
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
VideoConfigure (Function)
In French: VidéoConfigure
Allows you to configure the driver for video capture. This configuration can be performed by the user (via a dialog box) or by programming (configuration of resolution).
Versions 19 and later
Caution: This function can only be used with the Camera controls in compatible mode ("Use the former 'Video for Windows' APIs (compatibility)" checked in the control description).
New in version 19
Caution: This function can only be used with the Camera controls in compatible mode ("Use the former 'Video for Windows' APIs (compatibility)" checked in the control description).
Caution: This function can only be used with the Camera controls in compatible mode ("Use the former 'Video for Windows' APIs (compatibility)" checked in the control description).
Versions 22 and later
Note: This function is equivalent to CameraConfigure.
New in version 22
Note: This function is equivalent to CameraConfigure.
Note: This function is equivalent to CameraConfigure.
Example
// Displays the standard dialog box for configuring the driver for video capture
// used for the "CAM_MyVideo" control
VideoConfigure(CAM_MyVideo)
// Specifies a resolution of 640 by 480
VideoConfigure(CAM_VIDEO1, viResolution, 640, 480)
Syntax
<Result> = VideoConfigure(<Camera Control> [, <Type of Configuration> [, <Width Resolution> , <Height Resolution>]])
<Result>: Boolean
  • True if the standard dialog box was displayed,
  • False if an error occurred. The corresponding error message is returned by ErrorInfo.
<Camera Control>: Control name
Name of Camera control to use.
<Type of Configuration>: Optional integer constant
Type of configuration to perform:
viConfigureFormatDisplay a dialog box (if it exists) allowing the user to specify the resolution of the camera, the number of colors used, ...
viConfigureSource
(default value)
Display a dialog box (if it exists) allowing the user to specify the name of camera to use and the parameters of this camera (saturation for example).
This dialog box depends on the driver used by the Camera control.
viResolutionUsed to specify a resolution for the camera, via <Width Resolution> and <Height Resolution>.
<Width Resolution>: Optional integer
Width of camera resolution (in pixels). This parameter must be specified if <Type of Configuration> is set to viResolution.
<Height Resolution>: Optional integer
Height of camera resolution (in pixels). This parameter must be specified if <Type of Configuration> is set to viResolution.
Remarks

Operating mode of the Camera control when displaying dialog boxes

  • If the panel for configuring the format is displayed, the Camera control is frozen.
  • If the configuration panel is displayed by the viConfigureSource constant, the Camera control continues to operate. The modifications of the parameters are immediately taken into account and applied to the Camera control in "direct live".
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment