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

Specifies the path TWAIN Data Source Manager. 

The TWAIN DSM is the windows library (dll) providing support for the TWAIN standard. 

Can be TWAIN_32.DLL or TWAINDSM.DLL for TWAIN 2.0 support. By default, the toolkits searches the Windows path for the TWAIN DSM but on Citrix the Windows directory can be redirected for users.

C#
public TwainSetDSMPath(
    String DSMPath
);
Visual Basic
Public Sub TwainSetDSMPath(
    ByVal DSMPath As String
)
Parameters
Parameters 
Description 
DSMPath 
The path of the TWAIN Data Source Manager.  

Loading the TWAIN 2.0 DSM

oGdPictureImaging.TwainSetDSMPath("C:\Windows\TWAINDSM.DLL")
oGdPictureImaging.TwainOpenDefaultSource
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.