LEADTOOLS WCF OCR (Leadtools.Services.Forms.DataContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
LastPageNumber Property
See Also 
Leadtools.Services.Forms.DataContracts Namespace > DocumentConvertOptions Structure : LastPageNumber Property



The LastPageNumber Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the last page to load. This is a 1-based index.

Syntax

Visual Basic (Declaration) 
<DataMemberAttribute("LastPageNumber")>
Public Property LastPageNumber As Integer
Visual Basic (Usage)Copy Code
Dim instance As DocumentConvertOptions
Dim value As Integer
 
instance.LastPageNumber = value
 
value = instance.LastPageNumber
C# 
[DataMemberAttribute("LastPageNumber")]
public int LastPageNumber {get; set;}
C++/CLI 
[DataMemberAttribute("LastPageNumber")]
public:
property int LastPageNumber {
   int get();
   void set (    int value);
}

Property Value

An integer value that specifies the last page to load.

Example

For an example, refer to DocumentConvertOptions.

Remarks

The value of this property must be greater than or equal to FirstPageNumber. Pass -1 to load pages from FirstPageNumber to the last page in the file.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features