pdfstyledfield-ag凯发旗舰厅



com.spire.pdf.fields
class pdfstyledfield

java.lang.object
  extended by com.spire.pdf.fields.pdffield
      extended by com.spire.pdf.fields.pdfstyledfield
all implemented interfaces:
ipdfwrapper
direct known subclasses:
pdfappearancefield, pdfcheckfieldbase

public abstract class pdfstyledfield
extends pdffield

represents form's field with style parameters.


constructor summary
pdfstyledfield()
           
pdfstyledfield(pdfpagebase page, java.lang.string name)
          initializes a new instance of the class.
 
method summary
 pdffieldactions getactions()
          gets the actions of the field.
 pdfrgbcolor getbackcolor()
          gets the color of the background.
 pdfborderstyle getborderstyle()
          gets the border style.
 float getborderwidth()
          gets the width of the border.
 java.awt.geom.rectangle2d getbounds()
          sets the bounds.
 pdfrgbcolor getforecolor()
          gets the color of the text.
 java.awt.geom.point2d getlocation()
          gets the location.
 java.awt.geom.dimension2d getsize()
          gets the size.
 pdftextalignment gettextalignment()
          gets the text alignment.
 boolean getvisible()
          gets a value indicating whether this is visible.
 void setbackcolor(pdfrgbcolor value)
          sets the color of the background.
 void setbordercolor(pdfrgbcolor value)
          sets the color of the border.
 void setborderstyle(pdfborderstyle value)
          sets the border style.
 void setborderwidth(float value)
          sets the width of the border.
 void setbounds(java.awt.geom.rectangle2d value)
          gets the bounds.
 void setforecolor(pdfrgbcolor value)
          sets the color of the text.
 void setlocation(java.awt.geom.point2d value)
          sets the location.
 void setsize(java.awt.geom.dimension2d value)
          sets the size.
 void settextalignment(pdftextalignment value)
          sets the text alignment.
 void setvisible(boolean value)
          sets a value indicating whether this is visible.
 
methods inherited from class com.spire.pdf.fields.pdffield
getexport, getflatten, getform, getmappingname, getname, getpage, getreadonly, getrequired, gettooltip, setexport, setflatten, setreadonly, settooltip
 
constructor detail

pdfstyledfield

public pdfstyledfield(pdfpagebase page,
                      java.lang.string name)
initializes a new instance of the class.
parameters:
page - the page where the field should be placed.
name - the name.

pdfstyledfield

public pdfstyledfield()
method detail

getbounds

public java.awt.geom.rectangle2d getbounds()
sets the bounds.

setbounds

public void setbounds(java.awt.geom.rectangle2d value)
gets the bounds.

getlocation

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

setlocation

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

getsize

public java.awt.geom.dimension2d getsize()
gets the size.

setsize

public void setsize(java.awt.geom.dimension2d value)
sets the size.

setbordercolor

public void setbordercolor(pdfrgbcolor value)
sets the color of the border.

getbackcolor

public pdfrgbcolor getbackcolor()
gets the color of the background.

setbackcolor

public void setbackcolor(pdfrgbcolor value)
sets the color of the background.

getforecolor

public pdfrgbcolor getforecolor()
gets the color of the text.

setforecolor

public void setforecolor(pdfrgbcolor value)
sets the color of the text.

getborderwidth

public float getborderwidth()
gets the width of the border.

setborderwidth

public void setborderwidth(float value)
sets the width of the border.

gettextalignment

public pdftextalignment gettextalignment()
gets the text alignment.

settextalignment

public void settextalignment(pdftextalignment value)
sets the text alignment.

getactions

public pdffieldactions getactions()
gets the actions of the field.

getborderstyle

public pdfborderstyle getborderstyle()
gets the border style.

setborderstyle

public void setborderstyle(pdfborderstyle value)
sets the border style.

getvisible

public boolean getvisible()
gets a value indicating whether this is visible.

setvisible

public void setvisible(boolean value)
sets a value indicating whether this is visible.


网站地图