|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.general.pdfdestination
public class pdfdestination
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 |
---|
public pdfdestination(pdfpagebase page)
page
- the page.public pdfdestination(pdfpagebase page, java.awt.geom.point2d location)
page
- the page.location
- the location.public pdfdestination(pdfpagebase page, com.spire.ms.system.drawing.rectanglef rectangle)
public pdfdestination(int pagenumber, java.awt.geom.point2d location, float zoom)
pagenumber
- zero based page numberlocation
- the location in the pagezoom
- the zoom factormethod detail |
---|
public int getpagenumber()
public float getzoom()
public void setzoom(float value)
public pdfpagebase getpage()
public void setpage(pdfpagebase value)
public pdfdestinationmode getmode()
public void setmode(pdfdestinationmode value)
public java.awt.geom.point2d getlocation()
public java.awt.geom.rectangle2d getrectangle()
public void setrectangle(java.awt.geom.rectangle2d value)
public void setlocation(java.awt.geom.point2d value)
public boolean isvalid()
public void setvalidation(boolean valid)
valid
- if it is valid, set to
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |