mirror of
https://github.com/soukoku/ntwain.git
synced 2025-12-19 19:57:02 +08:00
Added a few more easy cap value read overloads.
This commit is contained in:
@@ -39,7 +39,7 @@ namespace WinFormSample
|
||||
lblCurrent.Text = ds.ProductName;
|
||||
if (twain.State == STATE.S4)
|
||||
{
|
||||
var caps = twain.GetAllCaps();
|
||||
twain.GetCapValues(CAP.CAP_SUPPORTEDCAPS, out IList<CAP> caps);
|
||||
foreach (var c in caps)
|
||||
listCaps.Items.Add(c);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user