Leadtools.Forms.DocumentWriters Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AddPageNumber Property
See Also 
Leadtools.Forms.DocumentWriters Namespace > TextDocumentOptions Class : AddPageNumber Property



Get or sets a value that indicate whether text file should have page numbers.

Syntax

Visual Basic (Declaration) 
Public Property AddPageNumber As Boolean
Visual Basic (Usage)Copy Code
Dim instance As TextDocumentOptions
Dim value As Boolean
 
instance.AddPageNumber = value
 
value = instance.AddPageNumber
C# 
public bool AddPageNumber {get; set;}
C++/CLI 
public:
property bool AddPageNumber {
   bool get();
   void set (bool value);
}

Return Value

true to add page numbers to the final text document; otherwise it is false.

Example

For an example, refer to TextDocumentOptions.

Remarks

When the value of this property is true, the number of each page is written in resulting text file. Since the text format is not multi-page, this property helps to determine the numbers and position of written pages.

Requirements

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

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features