public abstract class PDPageDestination extends PDDestination
| Modifier and Type | Field and Description | 
|---|---|
| protected COSArray | arrayStorage for the page destination. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | PDPageDestination()Constructor to create empty page destination. | 
| protected  | PDPageDestination(COSArray arr)Constructor to create empty page destination. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | findPageNumber()Deprecated. 
 This method has inconsistent behavior (see returns), use  retrieveDestPageNumber()instead. | 
| COSArray | getCOSArray()Convert this standard java object to a COS object. | 
| COSBase | getCOSObject()Convert this standard java object to a COS object. | 
| PDPage | getPage()This will get the page for this destination. | 
| int | getPageNumber()This will get the page number for this destination. | 
| int | retrieveDestPageNumber()Returns the page number for this destination, regardless of whether this is a page number or
 a reference to a page. | 
| void | setPage(PDPage page)Set the page for this destination. | 
| void | setPageNumber(int pageNumber)Set the page number for this destination. | 
create, toStringprotected COSArray array
protected PDPageDestination()
protected PDPageDestination(COSArray arr)
arr - A page destination array.public PDPage getPage()
getPageNumber() should be used.public void setPage(PDPage page)
page - The page for the destination.public int getPageNumber()
@Deprecated public int findPageNumber()
retrieveDestPageNumber() instead.PDOutlineItempublic int retrieveDestPageNumber()
PDOutlineItempublic void setPageNumber(int pageNumber)
pageNumber - The page for the destination.public COSBase getCOSObject()
public COSArray getCOSArray()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.