mirror of
https://github.com/soukoku/ntwain.git
synced 2025-10-26 20:19:03 +08:00
Added image conversion parts from commonwin32.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using CommonWin32;
|
||||
using NTwain;
|
||||
using NTwain;
|
||||
using NTwain.Data;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
@@ -91,7 +90,7 @@ namespace Tester.Winform
|
||||
Bitmap img = null;
|
||||
if (e.NativeData != IntPtr.Zero)
|
||||
{
|
||||
img = e.NativeData.GetDrawingBitmap();
|
||||
img = e.GetNativeBitmap();
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(e.FileDataPath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user