|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.graphics.fonts.PdfUsedFont
public class PdfUsedFont
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. |
PdfFontType |
getType()
Gets the type. |
void |
replace(PdfFontBase fontToReplace)
Replaces the specified new font. |
static void |
scaleFontSize(PdfPageBase page,
java.lang.String[] fontNames,
float factor)
Scale the font size specified page. |
| Constructor Detail |
|---|
public PdfUsedFont(PdfFontBase font,
PdfPageWidget pageWidget)
font - The font.| Method Detail |
|---|
public java.lang.String getName()
public float getSize()
public java.util.EnumSet<PdfFontStyle> getStyle()
public PdfFontType getType()
public void replace(PdfFontBase fontToReplace)
fontToReplace - The new font.
public static void scaleFontSize(PdfPageBase page,
java.lang.String[] fontNames,
float factor)
page - modified pagefontNames - the names of the fonts to be scaledfactor - scale factor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||