mirror of
https://github.com/soukoku/ntwain.git
synced 2025-10-26 03:40:43 +08:00
Updated string read and fixed sample.
This commit is contained in:
@@ -63,9 +63,9 @@ namespace Tester.WPF
|
||||
|
||||
protected override void OnDataTransferred(DataTransferredEventArgs e)
|
||||
{
|
||||
if (e.Data != IntPtr.Zero)
|
||||
if (e.NativeData != IntPtr.Zero)
|
||||
{
|
||||
Image = e.Data.GetWPFBitmap();
|
||||
Image = e.NativeData.GetWPFBitmap();
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(e.FilePath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user