ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ievolution 4.1.2 WIA device selector does not show
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

christiandersen

Denmark
13 Posts

Posted - Aug 09 2012 :  03:07:28  Show Profile  Reply
When we call Viewer.Image.SelectWIASource(); no dialog is shown.

When we do this:

public bool AcquireFromWIASource()
{
m_PreviousImageWithResults = GetImageWithResults();

bool returnValue = Viewer.Image.AcquireFromWIA();

if (returnValue)
{
Viewer.Image.ReduceImage(MaxSize);
CurrentDrawingBoardState = DrawingBoardState.Imported;
m_CurrentImageType = DefaultFileFormat;
OnImageAdded(CreateImageEventArgs());
PrepareDrawingBoard();
if (Annotations.ObjectsCount == 1)
CurrentDrawingBoardState = DrawingBoardState.Calibrated;
else
CurrentDrawingBoardState = DrawingBoardState.Imported;
}
return returnValue;

}

The computers wia camera dialog is shown.

Can you tell me why the there is no device selection dialog like in the twain interface, is it because there is only one device?

fab

1310 Posts

Posted - Aug 16 2012 :  23:38:07  Show Profile  Reply
The WIA device selection dialog should be visible even with a single device. In my tests, using 4.1.2 version, SelectWIASource works correctly.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: