GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TwainSetApplicationInfo Method
Your application major number version.
Your application minor number version.
The language ID of your application.
The country ID of your application.
\Version information of your application.
The company name which provides the application.
The product family name.
The product name.





In This Topic
TwainSetApplicationInfo Method (GdPictureImaging)
In This Topic
Asks to the component to register your application into TWAIN.
Syntax
'Declaration
 
Public Sub TwainSetApplicationInfo( _
   ByVal MajorNumVersion As Integer, _
   ByVal MinorNumVersion As Integer, _
   ByVal LanguageID As TwainLanguage, _
   ByVal CountryID As TwainCountry, _
   ByVal VersionInfo As String, _
   ByVal CompanyName As String, _
   ByVal ProductFamily As String, _
   ByVal ProductName As String _
) 
public void TwainSetApplicationInfo( 
   int MajorNumVersion,
   int MinorNumVersion,
   TwainLanguage LanguageID,
   TwainCountry CountryID,
   string VersionInfo,
   string CompanyName,
   string ProductFamily,
   string ProductName
)
public procedure TwainSetApplicationInfo( 
    MajorNumVersion: Integer;
    MinorNumVersion: Integer;
    LanguageID: TwainLanguage;
    CountryID: TwainCountry;
    VersionInfo: String;
    CompanyName: String;
    ProductFamily: String;
    ProductName: String
); 
public function TwainSetApplicationInfo( 
   MajorNumVersion : int,
   MinorNumVersion : int,
   LanguageID : TwainLanguage,
   CountryID : TwainCountry,
   VersionInfo : String,
   CompanyName : String,
   ProductFamily : String,
   ProductName : String
);
public: void TwainSetApplicationInfo( 
   int MajorNumVersion,
   int MinorNumVersion,
   TwainLanguage LanguageID,
   TwainCountry CountryID,
   string* VersionInfo,
   string* CompanyName,
   string* ProductFamily,
   string* ProductName
) 
public:
void TwainSetApplicationInfo( 
   int MajorNumVersion,
   int MinorNumVersion,
   TwainLanguage LanguageID,
   TwainCountry CountryID,
   String^ VersionInfo,
   String^ CompanyName,
   String^ ProductFamily,
   String^ ProductName
) 

Parameters

MajorNumVersion
Your application major number version.
MinorNumVersion
Your application minor number version.
LanguageID
The language ID of your application.
CountryID
The country ID of your application.
VersionInfo
\Version information of your application.
CompanyName
The company name which provides the application.
ProductFamily
The product family name.
ProductName
The product name.
Remarks

This method only if Twain state < 3 (TWAIN_SM_OPEN).

Use the GetStat() method to check if this method succeeded.

See Also