public class PDPageFitDestination extends PDPageDestination
Modifier and Type | Field and Description |
---|---|
protected static String |
TYPE
The type of this destination.
|
protected static String |
TYPE_BOUNDED
The type of this destination.
|
array
Constructor and Description |
---|
PDPageFitDestination()
Default constructor.
|
PDPageFitDestination(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.
|
void |
setFitBoundingBox(boolean fitBoundingBox)
Set if this page destination should just fit the bounding box.
|
findPageNumber, getCOSArray, getCOSObject, getPage, getPageNumber, retrieveDestPageNumber, setPage, setPageNumber
create, toString
protected static final String TYPE
protected static final String TYPE_BOUNDED
public PDPageFitDestination()
public PDPageFitDestination(COSArray arr)
arr
- The destination array.public boolean fitBoundingBox()
public void setFitBoundingBox(boolean fitBoundingBox)
fitBoundingBox
- A flag indicating if this should fit the bounding box.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.