LoadTemplateEvent2 Example for C++ 5.0 and later
void CTwainView::OnTestTemplate()
{
m_pltRasTwain->EnableLoadTemplateEvent = TRUE;
m_pltRasTwain->LoadTemplate("c:\\test.ltt");
}
void CRasterTwainSink::OnLoadTemplate2(ILEADTwainCapability * pCapability)
{
// ...
// ...
// set your code here
// ...
}