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

Return Value

The page size.

Example

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