Leadtools.Wia Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 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 EnumChildItems method.
Gets the properties for the specified item.

Syntax

Visual Basic (Declaration) 
Public Sub GetProperties( _
   ByVal item As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As WiaSession
Dim item As Object
 
instance.GetProperties(item)
C# 
public void GetProperties( 
   object item
)
C++/CLI 
public:
void 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 EnumChildItems method.

Example

For an example, refer to WiaSession.GetRootItem.

Remarks

Call this method to get the passed item's properties. Calling this method fills the Properties property with the retrieved item's properties.

For more information, refer to Managing WIA Sources.

Requirements

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

See Also