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



item
Handle to the item having its properties obtained. Retrieve this parameter by either calling the WiaSession.GetRootItem method to get the device’s root item or by enumerating the child items of the device through a call to the Leadtools.Wia.WiaSession.EnumChildItems method.
item
Handle to the item having its properties obtained. Retrieve this parameter by either calling the WiaSession.GetRootItem method to get the device’s root item or by enumerating the child items of the device through a call to the Leadtools.Wia.WiaSession.EnumChildItems method.
Gets the properties for the specified item.

Syntax

Visual Basic (Declaration) 
Public Function GetProperties( _
   ByVal item As Object _
) As WiaProperties
Visual Basic (Usage)Copy Code
Dim instance As WiaSession
Dim item As Object
Dim value As WiaProperties
 
value = instance.GetProperties(item)
C# 
public WiaProperties GetProperties( 
   object item
)
C++/CLI 
public:
WiaProperties GetProperties( 
   Object^ item
) 

Parameters

item
Handle to the item having its properties obtained. Retrieve this parameter by either calling the WiaSession.GetRootItem method to get the device’s root item or by enumerating the child items of the device through a call to the Leadtools.Wia.WiaSession.EnumChildItems method.

Return Value

Common WIA source properties.

Example

For an example, refer to WiaSession.GetRootItem.

Remarks

For more information, refer to Managing WIA Sources.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also