ISISAcquireMulti method (ISIS Control)
Builder Syntax |
int __fastcall ISISAcquireMulti(System::AnsiString BaseFileName, Cardinal uFlags, int nFormat, bool bMultiPage); |
Delphi Syntax |
function ISISAcquireMulti(BaseFileName : String; uFlags : Cardinal; nFormat : Integer; bMultiPage : Boolean) : Integer; |
Overview |
Remarks
(Document/Medical) Scans multiple pages into a multipage file or into multiple single page files.
You must set the EnableISISEvent property to True, before calling ISISAcquireMulti, in order to generate OnISISPage events.
You must call the ISISLoadDriver method before calling ISISAcquireMulti.
To handle the scanned pages in the OnISISPage event, you can copy the image to a Main Control for processing
ex.
Lead1.Bitmap = LeadIsis1.Bitmap;
Alternatively, to avoid a copy, set the Main Control's RefBitmap property to True before assigning the ISIS Control's Bitmap to the Main Control. For example:
Lead1.RefBitmap = True;
Lead1.Bitmap = LeadIsis1.Bitmap;
Lead1.RefBitmap = False;
See Also
Elements: |
ISISAcquire method, EnableISISEvent property, PagesDiscarded property, ISISGetTag method, ISISSetTag method, OnISISPage event |
Topics: |