Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property TwainProperties Properties {
   TwainProperties get();
   void set (TwainProperties value);
}

Return Value

The current data source properties

Example

Remarks

Gets or Sets the current data source properties, this property will updates or set the following properties: TwainProperties.ImageEffects property TwainProperties.DataTransfer property TwainProperties.ImageResolution property TwainProperties.EnableAutoFeed property TwainProperties.MaximumNumberOfPages property TwainProperties.DuplexScanning property TwainImageResolutionProperties.LeftMargin property TwainImageResolutionProperties.RightMargin property TwainImageResolutionProperties.TopMargin property TwainImageResolutionProperties.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