Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

WIAVideoMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: The constructor.
Notes: Requires Windows XP or Windows Server 2003.

Feedback, Comments & Corrections

WIAVideoMBS.CreateVideoByDevNum(DeviceNumber as Integer, win as window, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No No No
Function: The CreateVideoByDevNum method creates a connection to a streaming video device with the device number obtained from a Directshow enumeration.
Notes:
DeviceNumber: Specifies the video device's Directshow device number.
win: Specifies the window in which to display the streaming video.
StretchToFitParent: Specifies whether the video display is stretched to fit the parent window. Set this parameter to true if the display should be stretched to fit the parent window; otherwise, set to false.
AutoBeginPlayback: Specifies whether the streaming video begins playback as soon as this method returns. Set this parameter to TRUE to cause immediate playback; set it to false to require a call to Play before video playback begins.

Lasterror is set.
By default, the video is displayed in the video device's default resolution. If bStretchToFitParent is set to TRUE, the video display fills the window.

See also:

Feedback, Comments & Corrections

WIAVideoMBS.CreateVideoByDevNum(DeviceNumber as Integer, WindowHandle as Integer, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: The CreateVideoByDevNum method creates a connection to a streaming video device with the device number obtained from a Directshow enumeration.
Notes:
DeviceNumber: Specifies the video device's Directshow device number.
WindowHandle: Specifies the window in which to display the streaming video.
StretchToFitParent: Specifies whether the video display is stretched to fit the parent window. Set this parameter to true if the display should be stretched to fit the parent window; otherwise, set to false.
AutoBeginPlayback: Specifies whether the streaming video begins playback as soon as this method returns. Set this parameter to TRUE to cause immediate playback; set it to false to require a call to Play before video playback begins.

Lasterror is set.
By default, the video is displayed in the video device's default resolution. If bStretchToFitParent is set to TRUE, the video display fills the window.

See also:

Feedback, Comments & Corrections

WIAVideoMBS.CreateVideoByName(FriendlyName as string, win as window, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No No No
Function: The CreateVideoByName method creates a connection to a streaming video device with the friendly device name obtained from a Directshow enumeration.
Notes:
FriendlyName: Specifies the video device's friendly name obtained from a Directshow device enumeration.
win: Specifies the window in which to display the streaming video.
StretchToFitParent: Specifies whether the video display is stretched to fit the parent window. Set this parameter to true if the display should be stretched to fit the parent window; otherwise, set to false.
AutoBeginPlayback: Specifies whether the streaming video begins playback as soon as this method returns. Set this parameter to TRUE to cause immediate playback; set it to false to require a call to Play before video playback begins.

Lasterror is set.
By default, the video is displayed in the video device's default resolution. If bStretchToFitParent is set to TRUE, the video display fills the window.

See also:

Feedback, Comments & Corrections

WIAVideoMBS.CreateVideoByName(FriendlyName as string, WindowHandle as Integer, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: The CreateVideoByName method creates a connection to a streaming video device with the friendly device name obtained from a Directshow enumeration.
Notes:
FriendlyName: Specifies the video device's friendly name obtained from a Directshow device enumeration.
win: Specifies the window in which to display the streaming video.
StretchToFitParent: Specifies whether the video display is stretched to fit the parent window. Set this parameter to true if the display should be stretched to fit the parent window; otherwise, set to false.
AutoBeginPlayback: Specifies whether the streaming video begins playback as soon as this method returns. Set this parameter to TRUE to cause immediate playback; set it to false to require a call to Play before video playback begins.

Lasterror is set.
By default, the video is displayed in the video device's default resolution. If bStretchToFitParent is set to TRUE, the video display fills the window.

See also:

Feedback, Comments & Corrections

WIAVideoMBS.CreateVideoByWiaDevID(WiaDeviceID as string, win as window, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No No No
Function: The CreateVideoByWiaDevID method creates a connection to a streaming video device from its DeviceID.
Notes:
WiaDeviceID: Specifies the value of the video device's DeviceID property.
win: Specifies the window in which to display the streaming video.
StretchToFitParent: Specifies whether the video display is stretched to fit the parent window. Set this parameter to true if the display should be stretched to fit the parent window; otherwise, set to false.
AutoBeginPlayback: Specifies whether the streaming video begins playback as soon as this method returns. Set this parameter to true to cause immediate playback; set it to false to require a call to Play before video playback begins.

Lasterror is set.
By default, the video is displayed in the video device's default resolution. If bStretchToFitParent is set to TRUE, the video display fills the window.

In order for the function to succeed, the ImagesDirectory property must be specified first.

See also:

Feedback, Comments & Corrections

WIAVideoMBS.CreateVideoByWiaDevID(WiaDeviceID as string, WindowHandle as Integer, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: The CreateVideoByWiaDevID method creates a connection to a streaming video device from its DeviceID.
Notes:
WiaDeviceID: Specifies the value of the video device's DeviceID property.
win: Specifies the window in which to display the streaming video.
StretchToFitParent: Specifies whether the video display is stretched to fit the parent window. Set this parameter to true if the display should be stretched to fit the parent window; otherwise, set to false.
AutoBeginPlayback: Specifies whether the streaming video begins playback as soon as this method returns. Set this parameter to true to cause immediate playback; set it to false to require a call to Play before video playback begins.

Lasterror is set.
By default, the video is displayed in the video device's default resolution. If bStretchToFitParent is set to TRUE, the video display fills the window.

In order for the function to succeed, the ImagesDirectory property must be specified first.

See also:

Feedback, Comments & Corrections

WIAVideoMBS.CurrentState as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: Queries the state of the video stream.
Notes: See the kState* constants.

Feedback, Comments & Corrections

WIAVideoMBS.DestroyVideo
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: The DestroyVideo method shuts down the streaming video.
Notes:
To restart video playback, the application must call one of the CreateVideo methods again.
Lasterror is set.

Call this method only after a successful call to CreateVideoByWiaDevID, CreateVideoByDevNum, or CreateVideoByName.

Feedback, Comments & Corrections

WIAVideoMBS.ImagesDirectory as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: Specifies the full path and directory where images are stored when calling the TakePicture method.
Notes:
Lasterror is set.
(Read and Write computed property)

Feedback, Comments & Corrections

WIAVideoMBS.ImagesFolder as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: Specifies the folder where TakePicture stores the images.
Notes:
Lasterror is set.
(Read and Write computed property)

Feedback, Comments & Corrections

WIAVideoMBS.Pause
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: The Pause method pauses video playback.
Notes:
Call this method only after a successful call to CreateVideoByWiaDevID, CreateVideoByDevNum, or CreateVideoByName.
Lasterror is set.

Feedback, Comments & Corrections

WIAVideoMBS.Play
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: Begins playback of streaming video.
Notes:
Call this method only after a successful call to CreateVideoByWiaDevID, CreateVideoByDevNum, or CreateVideoByName.
Lasterror is set.

Feedback, Comments & Corrections

WIAVideoMBS.PreviewVisible as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: The PreviewVisible property specifies whether the video playback is visible in its parent window.
Notes:
This does not affect the state of the video.
Lasterror is set.
(Read and Write computed property)

Feedback, Comments & Corrections

WIAVideoMBS.ResizeVideo(StretchToFitParent as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: The ResizeVideo method resizes the video playback to the largest supported resolution that fits inside the parent window.
Notes:
Call this method whenever the parent window is moved or resized.

By default, the video is displayed in a supported resolution smaller than the parent window. If bStretchToFitParent is set to true, the video display fills the window.

Lasterror is set.

Feedback, Comments & Corrections

WIAVideoMBS.TakePicture as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: The TakePicture method extracts a still image from the video stream, and saves the image as a JPEG file.
Notes:
Returns the full path and filename of the JPEG file that this method creates.
Lasterror is set.

The path and directory where the image file is saved are specified by the ImagesDirectory or ImageFolder property.

See also:

Feedback, Comments & Corrections

WIAVideoMBS.TakePicture as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Capture MBS Win Plugin 10.3 No Yes No Yes, Windows only No
Function: The TakePicture method extracts a still image from the video stream, and saves the image as a JPEG file.
Notes:
Returns the full path and filename of the JPEG file that this method creates.
Lasterror is set.

The path and directory where the image file is saved are specified by the ImagesDirectory or ImageFolder property.

See also:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Win Plugin.

The biggest plugin in space...




Links
MBS Xojo PDF Plugins