mirror of
https://github.com/soukoku/ntwain.git
synced 2026-01-02 04:17:08 +08:00
Redone the cap value read code to support all twain types (#3).
This commit is contained in:
@@ -68,7 +68,7 @@ namespace NTwain
|
||||
|
||||
if (!args.CancelAll && !args.CancelCurrent)
|
||||
{
|
||||
Values.XferMech mech = this.GetCurrentCap<XferMech>(CapabilityId.ICapXferMech);
|
||||
Values.XferMech mech = this.GetCurrentCap(CapabilityId.ICapXferMech).ConvertToEnum<XferMech>();
|
||||
|
||||
//if (args.CanDoFileXfer && !string.IsNullOrEmpty(args.OutputFile))
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user