pdfusedfont-ag凯发旗舰厅
com.spire.pdf.graphics.fonts
class pdfusedfont
java.lang.object
com.spire.pdf.graphics.fonts.pdfusedfont
public class pdfusedfont
- extends java.lang.object
represents the used fonts in a pdf document.
pdfusedfont
public pdfusedfont(pdffontbase font,
pdfpagewidget pagewidget)
- initializes a new instance of the class.
- parameters:
font
- the font.
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.