LEADTOOLS WIA (Leadtools.Wia assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
WiaSession Class Methods
See Also 
Leadtools.Wia Namespace : WiaSession Class


"

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

"

Public Methods

 NameDescription
public Method AcquireAcquires one or more images from a WIA source.  
public Method AcquireImageFromVideoExtracts a still image from the video stream, and saves the image as a JPEG file.  
public Method AcquireSimpleAcquires one or more images from a WIA source.  
public Method AcquireToFileAcquires one or more images from a WIA source directly to file(s).  
public Method DisposeOverloaded. This member supports the Leadtools infrastructure and is not intended to be used directly from your code.  
public Method EndVideoPreviewShuts down the streaming video.  
public Method EnumCapabilitiesEnumerates all of the available WIA driver capabilities and properties and determines the available values for each one.  
public Method EnumChildItemsEnumerates all available child items for the root item specified in the parentItem parameter.  
public Method EnumDevicesEnumerates all available system WIA devices connected to the user's machine.  
public Method EnumFormatsEnumerates all of the available WIA driver transfer formats.  
public Method FreeItemFrees the items enumerated by the Leadtools.Wia.WiaSession.EnumChildItems method.  
public Methodstatic (Shared in Visual Basic) GetCategoryGuidRetrieves the relevant System.Guid structure for the WIA 2.0 item's category.  
public Methodstatic (Shared in Visual Basic) GetFormatGuidRetrieves the relevant System.Guid structure for the passed file format ID.  
public Method GetPropertiesGets the properties for the specified item.  
public Method GetPropertyBufferRetrieves the buffer of type Stream for any WIA property of type WiaVariableTypes.UI1 or WiaVariableTypes.Vector .  
public Method GetPropertyGuidRetrieves the Guid structure for any WIA property of type WiaVariableTypes.Clsid .  
public Methodstatic (Shared in Visual Basic) GetPropertyIdStringGets the equivalent string for the passed property ID.  
public Method 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.  
public Method GetPropertyStringRetrieves a string buffer for any WIA property of type WiaVariableTypes.Bstr.  
public Method GetPropertySystemTimeRetrieves a System.DateTime structure for any WIA property of type WiaVariableTypes.UI2 or WiaVariableTypes.Vector.  
public Method GetRootItemGets the equivalent string for the passed property ID.  
public Method GetSelectedDeviceGets a string that contains the ID for currently selected device.  
public Methodstatic (Shared in Visual Basic) IsAvailableDetermines which version of the WIA source is installed.  
public Method IsVideoPreviewAvailableDetermines whether there is an available video preview.  
public Method raise_AcquireEventOccurs while acquiring from the WIA source.  
public Method raise_AcquireFileEventOccurs while acquiring to file from the WIA source.  
public Method raise_EnumCapabilitiesEventOccurs while enumerating the WIA capabilities of the selected WIA source.  
public Method raise_EnumDevicesEventOccurs while enumerating the WIA devices.  
public Method raise_EnumFormatsEventOccurs while enumerating the supported WIA transfer formats of the selected WIA source.  
public Method raise_EnumItemsEventOccurs while enumerating the WIA child items.  
public Method raise_SetPropertiesEventOccurs while setting the WIA properties.  
public Method ResizeVideoPreviewResizes the video playback to the largest supported resolution that fits inside the parent window.  
public Method SelectDeviceSelects the WIA device represented by the passed device ID.  
public Method SelectDeviceDlgDisplays a dialog box that enables the user to select a WIA hardware device for image acquisition.  
public Method 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.  
public Method SetPropertyBufferFill the Stream buffer for any WIA property of type WiaVariableTypes.UI1 or WiaVariableTypes.Vector .  
public Method SetPropertyGuidSets properties values of type WiaVariableTypes.Clsid.  
public Method 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.  
public Method SetPropertyStringSets a string value for any WIA property of type WiaVariableTypes.Bstr that is not Read only.  
public Method 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.  
public Method ShutdownEnds a WIA session.  
public Method StartupInitializes the WIA session.  
public Method StartVideoPreviewStarts the video preview inside the window handle specified through the owner parameter.  
Top

Protected Methods

 NameDescription
protected Method FinalizeThis member overrides System.Object.Finalize.  
protected Method raise__acquireEventOccurs while acquiring from the WIA source.  
protected Method raise__acquireFileEventOccurs while acquiring to file from the WIA source.  
protected Method raise__enumCapabilitiesEventOccurs while enumerating the WIA capabilities of the selected WIA source.  
protected Method raise__enumDevicesEventOccurs while enumerating the WIA devices.  
protected Method raise__enumFormatsEventOccurs while enumerating the supported WIA transfer formats of the selected WIA source.  
protected Method raise__enumItemsEventOccurs while enumerating the WIA child items.  
protected Method raise__setPropertiesEventOccurs while setting the WIA properties.  
Top

See Also