|
|
Available in the LEADTOOLS Imaging toolkit. |
StopFeedPages Example for C++ 5.0 and later
void CTwainView::OnTwainAcquire()
{
if (m_pRasterTwain)
{
m_pRasterTwain->Acquire (L_LTWAIN_SHOW_USER_INTERFACE);
//Set bitmaplistindex to last page
m_Lead1.SetBitmapListIndex(m_Lead1.GetBitmapListCount() - 1);
}
}
void CRasterTwainSink::OnAcquire (long pBitmap)
{
m_pView->m_Lead1.InsertBitmapListItem (-1, pBitmap);
m_pView->m_pRasterTwain->StopFeedPages = FALSE;
}