|
|
|
|
|
<Camera>.SetDriver (Function) In french: <Caméra>.ChangeDriver Connects the "Camera" control to a specific driver for video capture. Caution: - To use this function, a "camera" must be connected to the current computer.
- To find out the list of drivers for video capture installed on the current computer, use VideoListDriver (associated with the viDirectShow constant). To determine which driver is currently associated with a Camera control, use the Driver property.
LISTE_DriverVidéo.Ajoute(VideoListDriver(viDirectShow))
IF CAM_Camera1.ChangeDriver(LISTE_DriverVidéo[2]) = False THEN
Error("Changement de driver impossible: " + CR + ...
ErrorInfo())
END
Syntax
<Result> = <Camera control>.SetDriver(<Identifier of video driver>)
<Result>: Boolean - True if the video driver associated with the control was modified,
- False if a problem occurs. To get more details on the error, use ErrorInfo.
<Camera control>: Control name Name of the Camera control to be used. <Identifier of video driver>: Character string Identifier of video driver to use. This identifier has the following format:<Nom du driver> + TAB + <Version du driver> This identifier corresponds to the list format returned by VideoListDriver (associated with the viDirectShow constant).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|