Platforms to show: All Mac Windows Linux Cross-Platform

WIAVideoMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The IWiaVideo interface provides methods that allow an application that uses Windows Image Acquisition (WIA) services to acquire still images from a streaming video device.

Note WIA does not support video devices in Windows Server 2003, Windows Vista, and later. For those versions of the Windows, use DirectShow to acquire images from video.

  • 5 properties
  • 17 methods
    • method Constructor
    • method CreateVideoByDevNum(DeviceNumber as integer, win as DesktopWindow, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
    • method CreateVideoByDevNum(DeviceNumber as Integer, win as window, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
    • method CreateVideoByDevNum(DeviceNumber as Integer, WindowHandle as Integer, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
    • method CreateVideoByName(FriendlyName as string, win as DesktopWindow, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
    • method CreateVideoByName(FriendlyName as string, win as window, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
    • method CreateVideoByName(FriendlyName as string, WindowHandle as Integer, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
    • method CreateVideoByWiaDevID(WiaDeviceID as string, win as DesktopWindow, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
    • method CreateVideoByWiaDevID(WiaDeviceID as string, win as window, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
    • method CreateVideoByWiaDevID(WiaDeviceID as string, WindowHandle as Integer, StretchToFitParent as boolean, AutoBeginPlayback as boolean)
    • method CurrentState as Integer
    • method DestroyVideo
    • method Pause
    • method Play
    • method ResizeVideo(StretchToFitParent as boolean)
    • method TakePicture as folderitem
    • method TakePicture as string
  • 6 constants

Constants

Constant Value Description
kStateCreatingVideo 2 One of the constants for the video state. One of the WiaVideoMBS CreateVideo methods was called and WIA is in the process of creating the video stream.
kStateDestroyingVideo 6 One of the constants for the video state. The application called DestroyVideo method, and WIA is in the process of destroying the video stream.
kStateNoVideo 1 One of the constants for the video state. No video stream exists. Call CreateVideoByWiaDevID, CreateVideoByDevNum, or CreateVideoByName to create a video.
kStateVideoCreated 3 One of the constants for the video state. A video stream has been successfully created, but playback has not yet started.
kStateVideoPaused 5 One of the constants for the video state. A video stream has been successfully created, and the video is paused. The application can now call the TakePicture method.
kStateVideoPlaying 4 One of the constants for the video state. A video stream has been successfully created, and the video is playing. The application can now call the TakePicture method.

This class has no sub classes.


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


WIATransferParamsMBS   -   WinDataObjectMBS


The biggest plugin in space...