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



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

The 1-based index of the page number in the source document.

Syntax

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

Property Value

The 1-based index of the page number in the source document.

Example

For an example, refer to DocumentConvertOptions.PagesZones

Remarks

The PageNumber is the 1-based page number in the source document (DocumentConvertOptions.Source) associated with the zones. This value is the 1-based page number regardless of the value of DocumentConvertOptions.FirstPageNumber, for example, you want the recognition to start at page 3 in the source document and you have zones for this page, you must set the OcrPageZones.PageNumber property to 3.

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