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.

Licensing:
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:

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 DynamicPDFTM v4.0.3 for Java generated on March 22, 2007
© Copyright 2007, ceTe Software