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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ievolution 4.1.2 WIA device selector does not show

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
christiandersen Posted - Aug 09 2012 : 03:07:28
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?

1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Aug 16 2012 : 23:38:07
The WIA device selection dialog should be visible even with a single device. In my tests, using 4.1.2 version, SelectWIASource works correctly.