DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class ZoomDestination

java.lang.Object
  |
  +--com.cete.dynamicpdf.Action
        |
        +--com.cete.dynamicpdf.Destination
              |
              +--com.cete.dynamicpdf.ZoomDestination

public class ZoomDestination
extends Destination

This class can be used to specify a certain page and X Y location for defining a Link or a Bookmark.

View Example


Constructor Summary
ZoomDestination(int pageNumber, PageZoom zoom)
          Initializes a new instance of the ZoomDestination class.
 
Method Summary
 void draw(DocumentWriter writer)
          Draws the destination to the specified DocumentWriter object.
 PageZoom getZoom()
          Gets the zoom used to display the destination.
 void setZoom(PageZoom value)
          Sets the zoom used to display the destination.
 
Methods inherited from class com.cete.dynamicpdf.Destination
getPageNumber, setPageNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZoomDestination

public ZoomDestination(int pageNumber,
                       PageZoom zoom)
Initializes a new instance of the ZoomDestination class.

Parameters:
pageNumber - Page number targeted by the destination.
zoom - Zoom used to display the destination.
See Also:
ZoomDestination
Method Detail

setZoom

public void setZoom(PageZoom value)
Sets the zoom used to display the destination.


getZoom

public PageZoom getZoom()
Gets the zoom used to display the destination.


draw

public void draw(DocumentWriter writer)
Draws the destination to the specified DocumentWriter object.

Specified by:
draw in class Action
Parameters:
writer - DocumentWriter object to receive the destinations output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF™ for Java generated on December 20, 2005
© Copyright 2005, ceTe Software