2014-04-03 07:01:21 +08:00
|
|
|
All TWAIN operations are done through the a combination of
|
|
|
|
Data Group (DG), Data Argument Type (DAT), and Message (MSG)
|
|
|
|
triplets. Rather than letting consumers of this lib deal
|
|
|
|
with all the combinations themselves and risk passing the
|
2014-04-04 06:52:11 +08:00
|
|
|
wrong thing, all valid triplet combinations are simply
|
2014-04-03 07:01:21 +08:00
|
|
|
made available under this namespace.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
To get the status of the DS, just use the
|
|
|
|
"Get" method (represents MSG), in the
|
|
|
|
"Status" embedded class (represnts DAT), in the
|
|
|
|
"DGControl" class (represents DG).
|
|
|
|
|
|
|
|
or better explained in code:
|
|
|
|
|
|
|
|
DGControl.Status.Get(...)
|
|
|
|
|
|
|
|
and that's the triplet at-a-glance. Only triplets used by the
|
|
|
|
application are explicitly defined this way.
|