DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class ZoomDestination

java.lang.Object
  extended by com.cete.dynamicpdf.Action
      extended by com.cete.dynamicpdf.Destination
          extended by 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


Field Summary
 
Fields inherited from class com.cete.dynamicpdf.Action
text_A, text_Next, text_S, text_Type
 
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.

Parameters:
value - the zoom used to display the destination.

getZoom

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

Returns:
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 v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software