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




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

Syntax

Visual Basic (Declaration) 
Public Property PaperSize As TwainPaperSize
Visual Basic (Usage)Copy Code
Dim instance As TwainAcquirePageOptions
Dim value As TwainPaperSize
 
instance.PaperSize = value
 
value = instance.PaperSize
C# 
public TwainPaperSize PaperSize {get; set;}
Managed Extensions for C++ 
public: __property TwainPaperSize get_PaperSize();
public: __property void set_PaperSize( 
   TwainPaperSize value
);
C++/CLI 
public:
property TwainPaperSize PaperSize {
   TwainPaperSize get();
   void set (TwainPaperSize value);
}

Return Value

The page size.

Example

For an example, refer to ImageEffects.

Remarks

This property internally gets or sets the page size capability ICAP_SUPPORTEDSIZES. 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