Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination » [javadoc | source]
org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination
public class: PDPageXYZDestination [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.PDPageXYZDestination

All Implemented Interfaces:
    PDDestinationOrAction

This represents a destination to a page at an x,y coordinate with a zoom setting. The default x,y,z will be whatever is the current value in the viewer application and are not required.
Field Summary
protected static final  String TYPE    The type of this destination. 
Fields inherited from org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination:
array
Constructor:
 public PDPageXYZDestination() 
 public PDPageXYZDestination(COSArray arr) 
    Constructor from an existing destination array.
    Parameters:
    arr - The destination array.
Method from org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestination Summary:
getLeft,   getTop,   getZoom,   setLeft,   setTop,   setZoom
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.PDPageXYZDestination Detail:
 public int getLeft() 
    Get the left x coordinate. A return value of -1 implies that the current x-coordinate will be used.
 public int getTop() 
    Get the top y coordinate. A return value of -1 implies that the current y-coordinate will be used.
 public int getZoom() 
    Get the zoom value. A return value of -1 implies that the current zoom will be used.
 public  void setLeft(int x) 
    Set the left x-coordinate, a value of -1 implies that the current x-coordinate will be used.
 public  void setTop(int y) 
    Set the top y-coordinate, a value of -1 implies that the current y-coordinate will be used.
 public  void setZoom(int zoom) 
    Set the zoom value for the page, a value of -1 implies that the current zoom will be used.