You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > TWAIN Features > TwainSetApplicationInfo Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.TwainSetApplicationInfo Method

Asks to the component to register your application into TWAIN.

C#
public TwainSetApplicationInfo(
    int MajorNumVersion, 
    int MinorNumVersion, 
    TwainLanguage LanguageID, 
    TwainCountry CountryID, 
    String VersionInfo, 
    String CompanyName, 
    String ProductFamily, 
    String ProductName
);
Visual Basic
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
)
Parameters
Parameters 
Description 
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 informations of your application.  
CompanyName 
The company name which provides the application.  
ProductFamily 
The product family name.  
ProductName 
The product name.  

this function only if Twain state < 3 (TWAIN_SM_OPEN)

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.