←Select platform

PageNumber Property

Summary

The page number associated with this change.

Syntax
C#
VB
C++
public int PageNumber { get; set; } 
Public Property PageNumber() As Integer 
   Get 
   Set 
public:  
   property Int32 PageNumber 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

Property Value

1-based page number in the document associated with this change. The default value is 0.

Remarks

This value will be set to the page number associated with the change when a modification of the following types occur:

For example, when history tracking is enabled and the user calls DocumentPage.Rotate, then a new item will be added with ModifyType set to DocumentHistoryModifyType.PageViewPerspective and PageNumber set to the number of the page in the document.

The value will be 0 (not used) when the change is associated with a modification of the following types since these are for the entire document and not a specific page:

Refer to Document Toolkit History Tracking for more information.

Example

For an example, refer to DocumentHistory.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly