Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination » [javadoc | source]
org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination
public class: PDPageFitWidthDestination [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDDestination
      org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination
         org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageFitWidthDestination

All Implemented Interfaces:
    PDDestinationOrAction

This represents a destination to a page at a y location and the width is magnified to just fit on the screen.
Field Summary
protected static final  String TYPE    The type of this destination. 
protected static final  String TYPE_BOUNDED    The type of this destination. 
Fields inherited from org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination:
array
Constructor:
 public PDPageFitWidthDestination() 
 public PDPageFitWidthDestination(COSArray arr) 
    Constructor from an existing destination array.
    Parameters:
    arr - The destination array.
Method from org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageFitWidthDestination Summary:
fitBoundingBox,   getTop,   setFitBoundingBox,   setTop
Methods from org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination:
findPageNumber,   getCOSArray,   getCOSObject,   getPage,   getPageNumber,   setPage,   setPageNumber
Methods from org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDDestination:
create,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageFitWidthDestination Detail:
 public boolean fitBoundingBox() 
    A flag indicating if this page destination should just fit bounding box of the PDF.
 public int getTop() 
    Get the top y coordinate. A return value of -1 implies that the current y-coordinate will be used.
 public  void setFitBoundingBox(boolean fitBoundingBox) 
    Set if this page destination should just fit the bounding box. The default is false.
 public  void setTop(int y) 
    Set the top y-coordinate, a value of -1 implies that the current y-coordinate will be used.