Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 TwainSession.Properties method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also