pdfstyledannotationwidget-ag凯发旗舰厅



com.spire.pdf.annotations
class pdfstyledannotationwidget

java.lang.object
  extended by com.spire.pdf.annotations.pdfannotation
      extended by com.spire.pdf.annotations.pdfannotationwidget
          extended by com.spire.pdf.annotations.pdfstyledannotationwidget
all implemented interfaces:
ipdfwrapper
direct known subclasses:
pdfattachmentannotationwidget, pdfdocumentlinkannotationwidget, pdffilelinkannotationwidget, pdffreetextannotationwidget, pdflineannotationwidget, pdfmarkupannotationwidget, pdfpopupannotationwidget, pdftextannotationwidget, pdftextmarkupannotationwidget, pdfuriannotationwidget

public class pdfstyledannotationwidget
extends pdfannotationwidget

the spire.pdf.action namespace contains classes used to create pdf action elements. represents the pdfloadedstyledannotation.


constructor summary
pdfstyledannotationwidget( dictionary,  crosstable)
           
 
method summary
 pdfannotationborder getborder()
          gets the annotation's border.
 java.awt.geom.rectangle2d getbounds()
          gets the annotation's bounds.
 pdfrgbcolor getcolor()
          gets the color.
 java.awt.geom.point2d getlocation()
          gets the location.
 java.awt.geom.dimension2d getsize()
          gets the size.
 java.lang.string gettext()
          gets the text.
 void setannotationflags(pdfannotationflags value)
          sets the annotation flags.
 void setborder(pdfannotationborder value)
          sets the annotation's border.
 void setbounds(java.awt.geom.rectangle2d value)
          sets the annotation's bounds.
 void setcolor(pdfrgbcolor value)
          sets the color.
 void setlocation(java.awt.geom.point2d value)
          sets the annotation's border.
 void setsize(java.awt.geom.dimension2d value)
          sets the size.
 void settext(java.lang.string value)
          sets the text.
 
methods inherited from class com.spire.pdf.annotations.pdfannotationwidget
getchanged, getcrosstable, getpagewidget, searchinparents, setchanged, setcrosstable, setpagewidget
 
methods inherited from class com.spire.pdf.annotations.pdfannotation
getauthor, getdictionary, getflags, getmodifieddate, getname, getpage, getrectangle, getsubject, setauthor, setdictionary, setflags, setmodifieddate, setname, setrectangle, setsubject
 
constructor detail

pdfstyledannotationwidget

public pdfstyledannotationwidget( dictionary,
                                  crosstable)
method detail

getcolor

public pdfrgbcolor getcolor()
gets the color.
overrides:
getcolor in class pdfannotation

setcolor

public void setcolor(pdfrgbcolor value)
sets the color.
overrides:
setcolor in class pdfannotation

gettext

public java.lang.string gettext()
gets the text.
overrides:
gettext in class pdfannotation

settext

public void settext(java.lang.string value)
sets the text.
overrides:
settext in class pdfannotation

getbounds

public java.awt.geom.rectangle2d getbounds()
gets the annotation's bounds. if this property is not set, bounds are calculated automatically based on location property and content of annotation.

setbounds

public void setbounds(java.awt.geom.rectangle2d value)
sets the annotation's bounds. if this property is not set, bounds are calculated automatically based on location property and content of annotation.

getborder

public pdfannotationborder getborder()
gets the annotation's border.
overrides:
getborder in class pdfannotation

setborder

public void setborder(pdfannotationborder value)
sets the annotation's border.
overrides:
setborder in class pdfannotation

getlocation

public java.awt.geom.point2d getlocation()
gets the location.
overrides:
getlocation in class pdfannotation

setlocation

public void setlocation(java.awt.geom.point2d value)
sets the annotation's border.
overrides:
setlocation in class pdfannotation

getsize

public java.awt.geom.dimension2d getsize()
gets the size.
overrides:
getsize in class pdfannotation

setsize

public void setsize(java.awt.geom.dimension2d value)
sets the size.
overrides:
setsize in class pdfannotation

setannotationflags

public void setannotationflags(pdfannotationflags value)
sets the annotation flags.


网站地图