DTwainAppInfo::SetProductFamily |
Top Previous Next |
Syntax DTwainAppInfo& SetProductFamily( const std::string& szProdFamily );
Parameters szProdFamily A std::string, string literal constant, or pointer to a buffer of type char denoting the product family.
Comments Sets the product family info in the DTwainAppInfo object to szManufacturer
Example:
#include "cdtwain.h" #include <string>
using namespace DTWAIN;
void foo( ) { DTwainAppInfo Info;
// string literal Info.SetProductFamily("DynaRithmic Scanner");
// Now use std::string std::string s = "Another"; Info.SetProductFamily( s ); }
|