pdfcellstyle-ag凯发旗舰厅



com.spire.pdf.tables
class pdfcellstyle

java.lang.object
  extended by com.spire.pdf.tables.pdfcellstyle

public class pdfcellstyle
extends java.lang.object

represents information about cell style.


constructor summary
pdfcellstyle()
          initializes a new instance of the class.
pdfcellstyle(pdffontbase font, pdfbrush fontbrush, pdfpen borderpen)
          initializes a new instance of the class.
 
method summary
 pdfbrush getbackgroundbrush()
          gets or sets the brush with which the background will be drawn.
 pdfpen getborderpen()
          gets or sets the pen with which the border will be drawn.
 pdffontbase getfont()
          gets or sets the font.
 pdfstringformat getstringformat()
          gets or sets the string format of the cell text.
 pdfbrush gettextbrush()
          gets or sets the brush which will be used to draw font.
 pdfpen gettextpen()
          gets or sets the font which will be used to draw text outlines.
 void setbackgroundbrush(pdfbrush value)
           
 void setborderpen(pdfpen value)
           
 void setfont(pdffontbase value)
           
 void setstringformat(pdfstringformat value)
           
 void settextbrush(pdfbrush value)
           
 void settextpen(pdfpen value)
           
 
constructor detail

pdfcellstyle

public pdfcellstyle()
initializes a new instance of the class.

pdfcellstyle

public pdfcellstyle(pdffontbase font,
                    pdfbrush fontbrush,
                    pdfpen borderpen)
initializes a new instance of the class.
parameters:
font - the font.
fontbrush - the font brush.
borderpen - the border pen.
method detail

getfont

public pdffontbase getfont()
gets or sets the font.

setfont

public void setfont(pdffontbase value)

getstringformat

public pdfstringformat getstringformat()
gets or sets the string format of the cell text.

setstringformat

public void setstringformat(pdfstringformat value)

gettextpen

public pdfpen gettextpen()
gets or sets the font which will be used to draw text outlines.
see also:
it should be null for default text representation.

settextpen

public void settextpen(pdfpen value)

gettextbrush

public pdfbrush gettextbrush()
gets or sets the brush which will be used to draw font.
see also:
this brush will be used to fill glyphs interior, which is the default.

settextbrush

public void settextbrush(pdfbrush value)

getborderpen

public pdfpen getborderpen()
gets or sets the pen with which the border will be drawn.

setborderpen

public void setborderpen(pdfpen value)

getbackgroundbrush

public pdfbrush getbackgroundbrush()
gets or sets the brush with which the background will be drawn.
see also:
it's null by default.

setbackgroundbrush

public void setbackgroundbrush(pdfbrush value)


网站地图