Argox pt-80 Mode D'Emploi
API_LoadSettingsFromFile
Load scanner setting from file.
BOOL API_LoadSettingsFromFile
{
LPCTSTR
filename
}
Parameters
filename
[in] the scanner setting file(*.axs)
Return Values
Return TRUE if the operation is successful, otherwise return FALSE.
Example
CString strFile;
CFileDialog dlg(TRUE, NULL, NULL, OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST);
if(dlg.DoModal() != IDOK)
return;
strFile
=
dlg.GetPathName();
if(theApp.m_API_LoadSettingsFromFile(strFile))
AfxMessageBox(_T("Load form file Succeed"));
else
AfxMessageBox(_T("Load from file Fail"));
Requirements
OS Versions: Windows CE 4.2 and later.
Header: scanapiax.h
Link Library: scanapiax.lib
Link DLL: scanapiax.dll
Device: PT80
Device: PT80
API_Reset
Reset the scanner setting to the default.
Programming Manual 41