public class PDPageFitWidthDestination extends PDPageDestination
| Modifier and Type | Field and Description | 
|---|---|
| protected static String | TYPEThe type of this destination. | 
| protected static String | TYPE_BOUNDEDThe type of this destination. | 
array| Constructor and Description | 
|---|
| PDPageFitWidthDestination()Default constructor. | 
| PDPageFitWidthDestination(COSArray arr)Constructor from an existing destination array. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | fitBoundingBox()A flag indicating if this page destination should just fit bounding box of the PDF. | 
| int | getTop()Get the top y coordinate. | 
| void | setFitBoundingBox(boolean fitBoundingBox)Set if this page destination should just fit the bounding box. | 
| void | setTop(int y)Set the top y-coordinate, a value of -1 implies that the current y-coordinate
 will be used. | 
findPageNumber, getCOSObject, getPage, getPageNumber, retrievePageNumber, setPage, setPageNumbercreateprotected static final String TYPE
protected static final String TYPE_BOUNDED
public PDPageFitWidthDestination()
public PDPageFitWidthDestination(COSArray arr)
arr - The destination array.public int getTop()
public void setTop(int y)
y - The top ycoordinate.public boolean fitBoundingBox()
public void setFitBoundingBox(boolean fitBoundingBox)
fitBoundingBox - A flag indicating if this should fit the bounding box.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.