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
 scan without select image source and image area
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

ali

Iran
110 Posts

Posted - Apr 25 2021 :  00:30:14  Show Profile  Reply
Dear Nigel

can I scan without select image source and image area with Imageen?
I want to select image source with Delphi code and scan full page of document of scanner.
I do not like show below pictures in scan time.





Best Regards

Ali Abbasi

xequte

38176 Posts

Posted - Apr 25 2021 :  00:59:35  Show Profile  Reply
Hi Ali

Please set VisibleDialog to false:

https://www.imageen.com/help/TIEAcquireParams.VisibleDialog.html


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Apr 25 2021 :  02:36:25  Show Profile  Reply
Dear Nigel

Thank you for your help.
I use Signature pad SignoTec which it working with Twain driver similar scanner.
with below code I could get signature and I think it working good but it show area signature pad.
My application working in webbase browser and I want to do not show below signature pad area.

procedure TPictureForm.btnAcquireClick(Sender: TObject);
var
 jpg: TJPEGImage;
 bmp: TBitmap;
begin
  UniPanel2.Visible := True;
  jpg:=TJPEGImage.Create;

  try
   Image1.Assign(DBImage1);

   bmp := TBitmap.Create;
   ImageEnProc1.AttachedBitmap:= bmp;
   ImageEnIO1.AttachedBitmap:= bmp;

   ImageEnIO1.AcquireParams.VisibleDialog := False;
   ImageEnIO1.Acquire;

   DBImage1.Picture.Bitmap.Assign(ImageEnIO1.Bitmap);
   DBImage1.Update;

  finally

   jpg.Free;
   bmp.Free;

   ImageEnIO1.Free;
   ImageEnProc1.Free;
  end;

end;




Best Regards

Ali Abbasi






Go to Top of Page

xequte

38176 Posts

Posted - Apr 26 2021 :  22:37:17  Show Profile  Reply
Hi Ali

Perhaps the SignoTec driver does not honor the Twain VisibleDialog flag?


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: