LEADTOOLS WIA (Leadtools.Wia assembly)

WiaSession Class Members

Show in webframe
Properties  Methods  Events


The following tables list the members exposed by WiaSession.

Public Constructors
 NameDescription
WiaSession Constructor

Constructs a new WiaSession object with default values.

 
Top
Public Properties
 NameDescription
AcquireOptionsGets or sets some memory and file transfer options that affect the acquisition process from the current WIA source.  
FilesCountGets the number of files saved when acquiring using File mode.  
FilesPathsGets a String collection that contains the saved file path(s) when performing a file transfer.  
SelectedDeviceTypeGets the currently selected WIA device type.  
Top
Public Methods
 NameDescription
AcquireAcquires one or more images from a WIA source.  
AcquireImageFromVideoExtracts a still image from the video stream, and saves the image as a JPEG file.  
AcquireSimpleAcquires one or more images from a WIA source.  
AcquireToFileAcquires one or more images from a WIA source directly to file(s).  
DisposeOverloaded. This member supports the Leadtools infrastructure and is not intended to be used directly from your code.  
EndVideoPreviewShuts down the streaming video.  
EnumCapabilitiesEnumerates all of the available WIA driver capabilities and properties and determines the available values for each one.  
EnumChildItemsEnumerates all available child items for the root item specified in the parentItem parameter.  
EnumDevicesEnumerates all available system WIA devices connected to the user's machine.  
EnumFormatsEnumerates all of the available WIA driver transfer formats.  
FreeItemFrees the items enumerated by the EnumChildItems method.  
GetCategoryGuidRetrieves the relevant System.Guid structure for the WIA 2.0 item's category.  
GetFormatGuidRetrieves the relevant System.Guid structure for the passed file format ID.  
GetPropertiesGets the properties for the specified item.  
GetPropertyBufferRetrieves the buffer of type Stream for any WIA property of type WiaVariableTypes.UI1 or WiaVariableTypes.Vector .  
GetPropertyGuidRetrieves the Guid structure for any WIA property of type WiaVariableTypes.Clsid .  
GetPropertyIdStringGets the equivalent string for the passed property ID.  
GetPropertyLongRetrieves 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.  
GetPropertyStringRetrieves a string buffer for any WIA property of type WiaVariableTypes.Bstr.  
GetPropertySystemTimeRetrieves a System.DateTime structure for any WIA property of type WiaVariableTypes.UI2 or WiaVariableTypes.Vector.  
GetRootItemGets the equivalent string for the passed property ID.  
GetSelectedDeviceGets a string that contains the ID for currently selected device.  
IsAvailableDetermines which version of the WIA source is installed.  
IsVideoPreviewAvailableDetermines whether there is an available video preview.  
raise_AcquireEventOccurs while acquiring from the WIA source.  
raise_AcquireFileEventOccurs while acquiring to file from the WIA source.  
raise_EnumCapabilitiesEventOccurs while enumerating the WIA capabilities of the selected WIA source.  
raise_EnumDevicesEventOccurs while enumerating the WIA devices.  
raise_EnumFormatsEventOccurs while enumerating the supported WIA transfer formats of the selected WIA source.  
raise_EnumItemsEventOccurs while enumerating the WIA child items.  
raise_SetPropertiesEventOccurs while setting the WIA properties.  
ResizeVideoPreviewResizes the video playback to the largest supported resolution that fits inside the parent window.  
SelectDeviceSelects the WIA device represented by the passed device ID.  
SelectDeviceDlgDisplays a dialog box that enables the user to select a WIA hardware device for image acquisition.  
SetPropertiesSets the values of the properties to the values specified in the WiaProperties structure into the WIA device's item passed through the item parameter.  
SetPropertyBufferFill the Stream buffer for any WIA property of type WiaVariableTypes.UI1 or WiaVariableTypes.Vector .  
SetPropertyGuidSets properties values of type WiaVariableTypes.Clsid.  
SetPropertyLongSets 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.  
SetPropertyStringSets a string value for any WIA property of type WiaVariableTypes.Bstr that is not Read only.  
SetPropertySystemTimeSets the date and time of the specified item as a form of System.DateTime structure for WIA property type WiaVariableTypes.UI2 or WiaVariableTypes.Vector.  
ShutdownEnds a WIA session.  
StartupInitializes the WIA session.  
StartVideoPreviewStarts the video preview inside the window handle specified through the owner parameter.  
Top
Protected Methods
 NameDescription
FinalizeThis member overrides System.Object.Finalize.  
raise__acquireEventOccurs while acquiring from the WIA source.  
raise__acquireFileEventOccurs while acquiring to file from the WIA source.  
raise__enumCapabilitiesEventOccurs while enumerating the WIA capabilities of the selected WIA source.  
raise__enumDevicesEventOccurs while enumerating the WIA devices.  
raise__enumFormatsEventOccurs while enumerating the supported WIA transfer formats of the selected WIA source.  
raise__enumItemsEventOccurs while enumerating the WIA child items.  
raise__setPropertiesEventOccurs while setting the WIA properties.  
Top
Public Events
 NameDescription
AcquireEventOccurs for each page acquired from the currently selected WIA source using the Acquire or AcquireSimple methods and it will also get called for each end of page to provide the user with the EndOfPage flag through the Flags member of the WiaAcquireEventArgs event argument to indicate the end of each page transfer.  
AcquireFileEventOccurs for each page acquired from the currently selected WIA source using the AcquireToFile method and it will also get called for each end of page to provide the user with the EndOfPage flag through the Flags member of the WiaAcquireFileEventArgs event argument to indicate the end of each page transfer.  
EnumCapabilitiesEventOccurs for each found capability of the currently selected WIA source after calling the EnumCapabilities method.  
EnumDevicesEventOccurs for each found WIA device after calling the EnumDevices method.  
EnumFormatsEventOccurs for each found supported transfer format of the currently selected WIA source after calling the EnumFormats method.  
EnumItemsEventOccurs for each found WIA child item after calling the EnumChildItems method.  
SetPropertiesEventOccurs while setting each property inside the WiaProperties structure after calling the SetProperties method.  
Top
See Also

Reference

WiaSession Class
Leadtools.Wia Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.