←Select platform

WiaSession Class Methods

Summary

For a list of all members of this type, see WiaSession members

Public Methods

Name Description
Acquire Acquires one or more images from a WIA source.
AcquireImageFromVideo Extracts a still image from the video stream, and saves the image as a JPEG file.
AcquireSimple Acquires one or more images from a WIA source.
AcquireToFile Acquires one or more images from a WIA source directly to file(s).
EndVideoPreview Shuts down the streaming video.
EnumCapabilities Enumerates all of the available WIA driver capabilities and properties and determines the available values for each one.
EnumChildItems Enumerates all available child items for the root item specified in the parentItem parameter.
EnumDevices Enumerates all available system WIA devices connected to the user's machine.
EnumFormats Enumerates all of the available WIA driver transfer formats.
FreeItem Frees the items enumerated by the EnumChildItems method.
GetCategoryGuid Retrieves the relevant System.Guid structure for the WIA 2.0 item's category.
GetFormatGuid Retrieves the relevant System.Guid structure for the passed file format ID.
GetProperties Gets the properties for the specified item.
GetPropertyBuffer Retrieves the buffer of type Stream for any WIA property of type WiaVariableTypes.UI1 or WiaVariableTypes.Vector .
GetPropertyGuid Retrieves the Guid structure for any WIA property of type WiaVariableTypes.Clsid .
GetPropertyIdString Gets the equivalent string for the passed property ID.
GetPropertyLong Retrieves the Long value for a WIA property of any of the following types: WiaVariableTypes.I1, WiaVariableTypes.UI1, WiaVariableTypes.I2, WiaVariableTypes.UI2, WiaVariableTypes.I4, WiaVariableTypes.UI4, WiaVariableTypes.Int, WiaVariableTypes.UInt, WiaVariableTypes.R4, or WiaVariableTypes.R8.
GetPropertyString Retrieves a string buffer for any WIA property of type WiaVariableTypes.Bstr.
GetPropertySystemTime Retrieves a System.DateTime structure for any WIA property of type WiaVariableTypes.UI2 or WiaVariableTypes.Vector.
GetRootItem Gets the equivalent string for the passed property ID.
GetSelectedDevice Gets a string that contains the ID for currently selected device.
IsAvailable Determines which version of the WIA source is installed.
IsVideoPreviewAvailable Determines whether there is an available video preview.
ResizeVideoPreview Resizes the video playback to the largest supported resolution that fits inside the parent window.
SelectDevice Selects the WIA device represented by the passed device ID.
SelectDeviceDlg Displays a dialog box that enables the user to select a WIA hardware device for image acquisition.
SetProperties Sets the values of the properties to the values specified in the WiaProperties structure into the WIA device's item passed through the item parameter.
SetPropertyBuffer Fill the Stream buffer for any WIA property of type WiaVariableTypes.UI1 or WiaVariableTypes.Vector .
SetPropertyGuid Sets properties values of type WiaVariableTypes.Clsid.
SetPropertyLong Sets the Long value for any WIA property of type: WiaVariableTypes.I1, WiaVariableTypes.UI1, WiaVariableTypes.I2, WiaVariableTypes.UI2, WiaVariableTypes.I4, WiaVariableTypes.UI4, WiaVariableTypes.Int, WiaVariableTypes.UInt, WiaVariableTypes.R4 and WiaVariableTypes.R8.
SetPropertyString Sets a string value for any WIA property of type WiaVariableTypes.Bstr that is not Read only.
SetPropertySystemTime Sets the date and time of the specified item as a form of System.DateTime structure for WIA property type WiaVariableTypes.UI2 or WiaVariableTypes.Vector.
Shutdown Ends a WIA session.
Startup Initializes the WIA session.
StartVideoPreview Starts the video preview inside the window handle specified through the owner parameter.

Protected Methods

Name Description
Dispose This member supports the Leadtools infrastructure and is not intended to be used directly from your code.
Finalize This member overrides System.Object.Finalize.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly