mirror of
https://github.com/soukoku/ntwain.git
synced 2025-12-01 10:54:08 +08:00
Initial move from old twain-in-dotnet.
This commit is contained in:
19
NTwain/Triplets/WhatsThis.txt
Normal file
19
NTwain/Triplets/WhatsThis.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
wrong thing, all defined triplet combinations are simply
|
||||
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.
|
||||
Reference in New Issue
Block a user