| Userobject | pbwtwain | ![]() |
Library : C:\D\PBWLibrarys\Testpbd\pb_image.pbl |
Date: 30/10/2004 7.34.31 |
Comment: |
| Specifications, notes, comments on pbwtwain |
//TWAIN This object is a wrapper for TWAIN interface. You can use this in scanning process. Features: 1)Acquire Images 2)Store images in blobs 3)Save images in files Formats supported: BMP,GIF,JPEG,TIFF SCAN PROCESS GUIDE: 1)Initialize (TW_INIT) 2)Acquire (TW_ACQUIRE) this starts acquisitin process 3)The ecent twe_acquire is fired at the end of scan process. You have to handle the acquired images in this event. 4)Save images using TW_SAVEAS function Attention: tmp_file is used by the object to save images. You can change the default path value THIS SOFTWARE AND THE ACCOMPANYING FILES ARE DISTRIBUTED "AS IS" AND WITHOUT WARRANTIES |
| Functions: | |
tw_acquire | Starts TWAIN scan process. |
tw_close | Closes TWAIN interface. |
tw_getpic | Get scanned image |
public function long tw_getpics () | public function long tw_getpics () |
tw_init | Inizialize TWAIN interface. |
tw_savepics | Saves previous scanned images in a file (open SaveAs windows dialog) |
tw_savepicsas | public subroutine tw_savepicsas (string filename, integer i) |
tw_selectsource | Opens dialog to select twain source |
| Events: | |
resize | event resize |
twe_acquire | event twe_acquire |
constructor | event constructor |
destructor | event destructor |