Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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;}
Managed Extensions for C++ 
public: __property TwainPaperOrientation get_PaperOrientation();
public: __property void set_PaperOrientation( 
   TwainPaperOrientation value
);
C++/CLI 
public:
property TwainPaperOrientation PaperOrientation {
   TwainPaperOrientation get();
   void set (TwainPaperOrientation value);
}

Return Value

The page orientation.

Example

For an example, refer to 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 1.9).

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