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



Gets or sets the maximum number of pages to get from the TWAIN source.

Syntax

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

Return Value

The maximum number of pages to get from the TWAIN source. (If the function updates this field to -1, it means that the number of pages is unlimited.)

Example

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