What does the 'TwainItemTypes' mean ?

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
junwei1994
Posts: 9
Joined: Wed May 15, 2019 10:04 am

What does the 'TwainItemTypes' mean ?

Post by junwei1994 » Fri Jul 05, 2019 5:24 am

Dear all,

Would appreciate that if you could tell what does each of the enum in 'TwainItemTypes' mean.

When I run the code below, it returns me the TWTY_BOOL''.

Dim type As TwainItemTypes = oGdPictureImaging.TwainGetCapItemType(TwainCapabilities.CAP_UICONTROLLABLE)

Best Regards,
Jun Wei

Gabriela
Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: What does the 'TwainItemTypes' mean ?

Post by Gabriela » Tue Jul 09, 2019 12:39 pm

Hello,

You can read more in TWAIN Specification, see the section ItemType for Capability Container structures. In short, TwainItemTypes enum defines the item type used by a specific TWAIN capability. So in your example for CAP_UICONTROLLABLE it means this capability is boolean (TWTY_BOOL).
Kind regards,

Gabriela
GdPicture Team

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests