DTwainAppInfo::SetManufacturer

Top  Previous  Next

Syntax

DTwainAppInfo& SetManufacturer( const std::string& szManufacturer );

 

Parameters

szManufacturer

A std::string, string literal constant, or pointer to a buffer of type char denoting the manufacturer.

 

Comments

Sets the manufacturer info in the DTwainAppInfo object to szManufacturer

 

Example:

 

#include "cdtwain.h"

#include <string>

 

using namespace DTWAIN;

 

void foo( )

{

   DTwainAppInfo Info;

 

   // string literal

   Info.SetManufacturer("DynaRithmic Software");

 

   // Now use std::string

   std::string s = "Another";

   Info.SetManufacturer( s );

}