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
 TImageEnMView and Duplex Scanning
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Flashcqxg

138 Posts

Posted - Dec 25 2025 :  18:28:01  Show Profile  Reply
When I use TImageEnMView for duplex scanning, how can I determine whether the currently acquired image is the front or back side of the scan?

xequte

39297 Posts

Posted - Dec 25 2025 :  20:40:10  Show Profile  Reply
Hi

At this time, it is only supported by tracking the image sequence:

procedure TForm1.ImageEnMView1AcquireBitmap(Sender: TObject; ABitmap: TIEBitmap; DpiX, DpiY: Integer; var Handled: boolean);
var
  isFrontSide: Boolean;
begin
  Inc( fImagesAcquired );
  
  // Odd images = Front, Even images = Back
  isFrontSide := (fImagesAcquired mod 2) = 1;

  ...
end;



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