|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.annotations.pdfannotation
public abstract class pdfannotation
represents the base class for annotation objects.
constructor summary | |
---|---|
|
pdfannotation()
|
|
pdfannotation( dictionary)
creates new annotation object with the specified dictionary. |
protected |
pdfannotation(pdfpagebase page,
java.lang.string text)
|
protected |
pdfannotation(com.spire.ms.system.drawing.rectanglef bounds)
|
method summary | |
---|---|
java.lang.string |
getauthor()
gets the user who created the annotation. |
pdfannotationborder |
getborder()
|
pdfrgbcolor |
getcolor()
gets the background of the annotations icon when closed. |
|
getdictionary()
gets the dictionary. |
pdfannotationflags |
getflags()
gets annotation flags. |
java.awt.geom.point2d |
getlocation()
gets location of the annotation. |
java.util.date |
getmodifieddate()
gets annotation's modified date. |
java.lang.string |
getname()
gets the name of the annotation. |
pdfpagebase |
getpage()
gets a page which this annotation is connected to. |
java.awt.geom.rectangle2d |
getrectangle()
gets annotation's bounds. |
java.lang.string |
getsubject()
gets the annotation's subject. |
java.lang.string |
gettext()
gets content of the annotation. |
void |
setauthor(java.lang.string value)
sets the user who created the annotation. |
void |
setborder(pdfannotationborder value)
sets annotation's border. |
void |
setcolor(pdfrgbcolor value)
sets the background of the annotations icon when closed. |
void |
setdictionary( value)
sets the dictionary. |
void |
setflags(pdfannotationflags value)
sets annotation flags. |
void |
setmodifieddate(java.util.date value)
sets annotation's modified date. |
void |
setname(java.lang.string value)
sets the name of the annotation. |
void |
setrectangle(java.awt.geom.rectangle2d value)
sets annotation's bounds. |
void |
setsubject(java.lang.string value)
sets the annotation's subject. |
void |
settext(java.lang.string value)
sets content of the annotation. |
constructor detail |
---|
public pdfannotation()
public pdfannotation( dictionary)
dictionary
- annotation's dictionaryprotected pdfannotation(pdfpagebase page, java.lang.string text)
protected pdfannotation(com.spire.ms.system.drawing.rectanglef bounds)
method detail |
---|
public pdfrgbcolor getcolor()
public void setcolor(pdfrgbcolor value)
public java.util.date getmodifieddate()
public void setmodifieddate(java.util.date value)
public pdfannotationborder getborder()
public void setborder(pdfannotationborder value)
public java.awt.geom.rectangle2d getrectangle()
public void setrectangle(java.awt.geom.rectangle2d value)
public java.awt.geom.point2d getlocation()
public java.lang.string getname()
public void setname(java.lang.string value)
public pdfpagebase getpage()
public java.lang.string gettext()
public void settext(java.lang.string value)
public java.lang.string getsubject()
public void setsubject(java.lang.string value)
public java.lang.string getauthor()
public void setauthor(java.lang.string value)
public pdfannotationflags getflags()
public void setflags(pdfannotationflags value)
public getdictionary()
public void setdictionary( value)
value
- the dictionary.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |