Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

PageNumber Property (DocumentLinkTarget)






Target page number.
Syntax
public int PageNumber {get; set;}
'Declaration
 
Public Property PageNumber As Integer
'Usage
 
Dim instance As DocumentLinkTarget
Dim value As Integer
 
instance.PageNumber = value
 
value = instance.PageNumber
public int getPageNumber()
public void setPageNumber(int value)
            
public:
property int PageNumber {
   int get();
   void set (    int value);
}

Property Value

The 1-based target page number. Default value is 0.
Remarks

Viewer applications would normally perform the following when a link target is invoked:

  1. Go to the page number specified in PageNumber.

  2. Check the value of PageFitType, if it is other than DocumentPageFitType.None then fit the page as specified.

  3. If the of PageFitType is DocumentPageFitType.None then use Position to scroll to a specific position in the page and optionally ZoomPercent to update the zoom value.

Viewer application should verify these values and can chose to support only partial implementation.

Example

For an example, refer to DocumentPage.GetLinks and DocumentStructure.

Requirements

Target Platforms

See Also

Reference

DocumentLinkTarget Structure
DocumentLinkTarget Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features