ImageControls 3.1 Application Note

ImageControls Toolkit 3.1 is the latest release of the Kofax ImageControls Toolkit product.


To access the following Web pages for this release, please click on the desired page's link.

Application Notes - Error Codes - Frequently Asked QuestionsRevision Levels  - Supported Configurations


Visual C++ 4.2 & ImageControls 2.0 Gold and Platinum Endorsement

The attached code will allow you send an endorsement string to a scanner if it is equipped with an endorsement option. This is a very simplified version and is for demonstration purposes only.

The code is added to the module that encapsulates the Image Processing Control KIMGP. In the case of the VCDEMO_G program this is in the VCKIMG_??.CPP module. This is the C++ program that demonstrates the image processing features of the toolkit. To make use of the endorsement feature of the scanner you must have at least the Gold Edition of the ImageControls Toolkit. .

The following is called from the KScan PageStart event. "OnPageStart". The addition begins at //Endorsement Code, the other code is already in the module.

void CVCKImgp::ProcessPageStart()

{

if (!m_bLoaded)

{

return;

}

m_kimgpOcx.SetPSAnnotateText(m_strAnnotateText);

m_kimgpOcx.SetPSAnnotateTop(m_nTextTop);

m_kimgpOcx.SetPSAnnotateLeft(m_nTextLeft);

// Endorsement Code

// This will work with with any scanner that has an endorser and that is specifically supported by the

// ImageControls Tool Kit

if (IsEndorseCapable())

{

m_kimgpOcx.SetPSEndorse(m_bEndorseEnable);

m_kimgpOcx.SetPSEndorseText(m_strEndorseText);

m_kimgpOcx.SetPSEndorseTop(m_nEndorseTop);

m_kimgpOcx.SetPSEndorseLeft(m_nEndorseLeft);

}

}