Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also