SaveTemplateEvent2 Example for Visual Basic
Public WithEvents RasterTwain As LEADRasterTwain
Private Sub Command2_Click()
RasterTwain.EnableSaveTemplateEvent = True
RasterTwain.SaveTemplate "c:\test.ltt"
End Sub
Private Sub RasterTwain_SaveTemplateEvent2(ByVal pCapability As LTRASTERTWAINLib.ILEADTwainCapability)
' ...
' ...
' set your code here
' ...
End Sub