pdfusedfont-ag凯发旗舰厅



com.spire.pdf.graphics.fonts
class pdfusedfont

java.lang.object
  extended by com.spire.pdf.graphics.fonts.pdfusedfont

public class pdfusedfont
extends java.lang.object

represents the used fonts in a pdf document.


constructor summary
pdfusedfont(pdffontbase font, pdfpagewidget pagewidget)
          initializes a new instance of the class.
 
method summary
 java.lang.string getname()
          gets the name.
 float getsize()
          gets the size.
 java.util.enumset<pdffontstyle> getstyle()
          gets the style.
  gettype()
          gets the type.
 void replace(pdffontbase fonttoreplace)
          replaces the specified new font.
 
constructor detail

pdfusedfont

public pdfusedfont(pdffontbase font,
                   pdfpagewidget pagewidget)
initializes a new instance of the class.
parameters:
font - the font.
method detail

getname

public java.lang.string getname()
gets the name.

getsize

public float getsize()
gets the size.

getstyle

public java.util.enumset<pdffontstyle> getstyle()
gets the style.

gettype

public  gettype()
gets the type.

replace

public void replace(pdffontbase fonttoreplace)
replaces the specified new font.
parameters:
fonttoreplace - the new font.


网站地图