| java.lang.Object org.pdfbox.pdmodel.interactive.documentnavigation.destination.PDDestination org.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination org.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestination
PDPageXYZDestination | public class PDPageXYZDestination extends PDPageDestination (Code) | | 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.
author: Ben Litchfield version: $Revision: 1.2 $ |
Field Summary | |
final protected static String | TYPE The type of this destination. |
Method Summary | |
public int | getLeft() Get the left x coordinate. | public int | getTop() Get the top y coordinate. | public int | getZoom() Get the zoom value. | 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. |
TYPE | final protected static String TYPE(Code) | | The type of this destination.
|
PDPageXYZDestination | public PDPageXYZDestination()(Code) | | Default constructor.
|
PDPageXYZDestination | public PDPageXYZDestination(COSArray arr)(Code) | | Constructor from an existing destination array.
Parameters: arr - The destination array. |
getLeft | public int getLeft()(Code) | | Get the left x coordinate. A return value of -1 implies that the current x-coordinate
will be used.
The left x coordinate. |
getTop | public int getTop()(Code) | | Get the top y coordinate. A return value of -1 implies that the current y-coordinate
will be used.
The top y coordinate. |
getZoom | public int getZoom()(Code) | | Get the zoom value. A return value of -1 implies that the current zoom
will be used.
The zoom value for the page. |
setLeft | public void setLeft(int x)(Code) | | Set the left x-coordinate, a value of -1 implies that the current x-coordinate
will be used.
Parameters: x - The left x coordinate. |
setTop | public void setTop(int y)(Code) | | Set the top y-coordinate, a value of -1 implies that the current y-coordinate
will be used.
Parameters: y - The top ycoordinate. |
setZoom | public void setZoom(int zoom)(Code) | | Set the zoom value for the page, a value of -1 implies that the current zoom
will be used.
Parameters: zoom - The zoom value. |
Fields inherited from org.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination | protected COSArray array(Code)(Java Doc)
|
|
|