Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
Properties Property
See Also 
Leadtools.Twain Namespace > TwainSession Class : Properties Property




Gets or Sets the current data source properties.

Syntax

Visual Basic (Declaration) 
Public Property Properties As TwainProperties
Visual Basic (Usage)Copy Code
Dim instance As TwainSession
Dim value As TwainProperties
 
instance.Properties = value
 
value = instance.Properties
C# 
public TwainProperties Properties {get; set;}
Managed Extensions for C++ 
public: __property TwainProperties get_Properties();
public: __property void set_Properties( 
   TwainProperties value
);
C++/CLI 
public:
property TwainProperties Properties {
   TwainProperties get();
   void set (TwainProperties value);
}

Example

Refer to ImageResolution example.

Remarks

Gets or Sets the current data source properties, this property will updates or set the following properties: ImageEffects property DataTransfer property ImageResolution property EnableAutoFeed property MaximumNumberOfPages property DuplexScanning property LeftMargin property RightMargin property TopMargin property BottomMargin property To get the current values for the above properties, you should call Properties method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also