Leadtools.Services.Forms.DataContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
LastPageNumber Property
See Also 
Leadtools.Services.Forms.DataContracts Namespace > DocumentConvertOptions Structure : LastPageNumber Property



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);
}

Return 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 XP, Windows Server 2003 family, Windows Server 2008 family

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