| christiandersen
  
 
                Denmark13 Posts
 | 
                    
                      |  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?
 
 
 |  |