Eventtwe_acquire

Defined in: pbwtwain

event twe_acquire



Script:
event twe_acquire;///<comment name='Arguments'>
///param(0) unsignedlong wparam :
///param(1)  long lparam :
///RETURNS long [pbm_custom02] : 
///This event is fired by TWAIN interface at the end of scan process
///</comment>
///<tip>
///In this event you have to handle scan results
///</tip>
///<comment name='Code example'>
///da fare
///</comment>

count = i_PBWTwain.TW_GetPics()
IF count > 0 THEN
	this.tw_savepicsas( this.tmp_file, 1 )
	p_1.picturename = this.tmp_file
ELSE
	p_1.picturename = ""
END IF


end event