LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

GetProperties Method






Handle to the item having its properties obtained. Retrieve this parameter by either calling the 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
public WiaProperties GetProperties( 
   object item
)
'Declaration
 
Public Function GetProperties( _
   ByVal item As Object _
) As WiaProperties
'Usage
 
Dim instance As WiaSession
Dim item As Object
Dim value As WiaProperties
 
value = instance.GetProperties(item)
public WiaProperties GetProperties( 
   object item
)
 function Leadtools.Wia.WiaSession.GetProperties( 
   item 
)
public:
WiaProperties GetProperties( 
   Object^ item
) 

Parameters

item
Handle to the item having its properties obtained. Retrieve this parameter by either calling the 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.

Return Value

Common WIA source properties.
Remarks

For more information, refer to Managing WIA Sources.

Example
For an example, refer to WiaSession.GetRootItem.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WiaSession Class
WiaSession Members
Startup Method
Shutdown Method
GetRootItem Method
EnumChildItems Method
SetProperties Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.