DTwainAppInfo::GetProductName

Top  Previous  Next

Syntax

std::string GetProductName( ) const;

 

Return Value

Returns the TWAIN Product Name setting in the DTwainAppInfo object.  Note that the return value is a standard C++ std::string.

 

Example:

#include <string>

#include <iostream>

#include "cdtwain.h"

//...

DTWAIN::DTwainAppInfo AppInfo;

//...

std::string sInfo = AppInfo.GetProductName( );

std::cout << "The product name is " << sInfo;