Leadtools.Wia Namespace > WiaSession Class : GetCategoryGuid Method |
public static Guid GetCategoryGuid( WiaCategories category )
'Declaration Public Shared Function GetCategoryGuid( _ ByVal category As WiaCategories _ ) As Guid
'Usage Dim category As WiaCategories Dim value As Guid value = WiaSession.GetCategoryGuid(category)
public: static Guid GetCategoryGuid( WiaCategories category )
This method is only used when using WIA version 2.0. Each WIA 2.0 item has a category represented as System.Guid structure that can be retrieved by calling the GetPropertyGuid method, and passing WiaPropertyId.ItemCategory for the propertyId parameter of this method. To determine the relevant category for returned System.Guid, call the GetCategoryGuid method for each available category in the WiaCategories enumeration and then compare the returned System.Guid value with this one.