Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PaperOrientation Property
See Also 
Leadtools.Twain Namespace > TwainAcquirePageOptions Structure : PaperOrientation Property



Gets or sets the page orientation to use when transferring data from the current TWAIN source.

Syntax

Visual Basic (Declaration) 
Public Property PaperOrientation As TwainPaperOrientation
Visual Basic (Usage)Copy Code
Dim instance As TwainAcquirePageOptions
Dim value As TwainPaperOrientation
 
instance.PaperOrientation = value
 
value = instance.PaperOrientation
C# 
public TwainPaperOrientation PaperOrientation {get; set;}
C++/CLI 
public:
property TwainPaperOrientation PaperOrientation {
   TwainPaperOrientation get();
   void set (TwainPaperOrientation value);
}

Return Value

The page orientation.

Example

For an example, refer to TwainSession.ImageEffects.

Remarks

This property internally gets or sets the page size capability ICAP_ORIENTATION. For more information on this capability, refer to http://www.twain.org and click on TWAIN Specification (Version 2.0).

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