pdfdestination-ag凯发旗舰厅



com.spire.pdf.general
class pdfdestination

java.lang.object
  extended by com.spire.pdf.general.pdfdestination
all implemented interfaces:
ipdfwrapper

public class pdfdestination
extends java.lang.object
implements ipdfwrapper

represents an anchor in the document where bookmarks or annotations can direct when clicked.


constructor summary
pdfdestination(int pagenumber, java.awt.geom.point2d location, float zoom)
          initializes a new instance of pdfdestination
pdfdestination(pdfpagebase page)
          initializes a new instance of the class.
pdfdestination(pdfpagebase page, java.awt.geom.point2d location)
          initializes a new instance of the class.
pdfdestination(pdfpagebase page, com.spire.ms.system.drawing.rectanglef rectangle)
           
 
method summary
 java.awt.geom.point2d getlocation()
          gets a location of the destination.
 pdfdestinationmode getmode()
          gets mode of the destination.
 pdfpagebase getpage()
          gets a page where the destination is situated.
 int getpagenumber()
          the page number.
 java.awt.geom.rectangle2d getrectangle()
          gets a rectangle of the destination.
 float getzoom()
          gets zoom factor.
 boolean isvalid()
          gets a value indicating whether this instance is valid.
 void setlocation(java.awt.geom.point2d value)
          sets a location of the destination.
 void setmode(pdfdestinationmode value)
          sets mode of the destination.
 void setpage(pdfpagebase value)
          sets a page where the destination is situated.
 void setrectangle(java.awt.geom.rectangle2d value)
          sets a rectangle of the destination.
 void setvalidation(boolean valid)
          sets the validation.
 void setzoom(float value)
          sets zoom factor.
 
constructor detail

pdfdestination

public pdfdestination(pdfpagebase page)
initializes a new instance of the class.
parameters:
page - the page.

pdfdestination

public pdfdestination(pdfpagebase page,
                      java.awt.geom.point2d location)
initializes a new instance of the class.
parameters:
page - the page.
location - the location.

pdfdestination

public pdfdestination(pdfpagebase page,
                      com.spire.ms.system.drawing.rectanglef rectangle)

pdfdestination

public pdfdestination(int pagenumber,
                      java.awt.geom.point2d location,
                      float zoom)
initializes a new instance of pdfdestination
parameters:
pagenumber - zero based page number
location - the location in the page
zoom - the zoom factor
method detail

getpagenumber

public int getpagenumber()
the page number.

getzoom

public float getzoom()
gets zoom factor.

setzoom

public void setzoom(float value)
sets zoom factor.

getpage

public pdfpagebase getpage()
gets a page where the destination is situated.

setpage

public void setpage(pdfpagebase value)
sets a page where the destination is situated.

getmode

public pdfdestinationmode getmode()
gets mode of the destination.

setmode

public void setmode(pdfdestinationmode value)
sets mode of the destination.

getlocation

public java.awt.geom.point2d getlocation()
gets a location of the destination.

getrectangle

public java.awt.geom.rectangle2d getrectangle()
gets a rectangle of the destination.

setrectangle

public void setrectangle(java.awt.geom.rectangle2d value)
sets a rectangle of the destination.

setlocation

public void setlocation(java.awt.geom.point2d value)
sets a location of the destination.

isvalid

public boolean isvalid()
gets a value indicating whether this instance is valid.

setvalidation

public void setvalidation(boolean valid)
sets the validation.
parameters:
valid - if it is valid, set to


网站地图