com.lowagie.text.pdf
public class PdfAppearance extends PdfTemplate
| Field Summary | |
|---|---|
| static HashMap | stdFieldFontNames |
| Constructor Summary | |
|---|---|
| PdfAppearance()
Creates a PdfAppearance. | |
| PdfAppearance(PdfIndirectReference iref) | |
| PdfAppearance(PdfWriter wr)
Creates new PdfTemplate
| |
| Method Summary | |
|---|---|
| static PdfAppearance | createAppearance(PdfWriter writer, float width, float height)
Creates a new appearance to be used with form fields.
|
| static PdfAppearance | createAppearance(PdfWriter writer, float width, float height, PdfName forcedName) |
| PdfContentByte | getDuplicate() |
| void | setFontAndSize(BaseFont bf, float size)
Set the font and the size for the subsequent text writing.
|
PdfAppearance.Parameters: wr the PdfWriter
Parameters: writer the PdfWriter to use width the bounding box width height the bounding box height
Returns: the appearance created
Parameters: bf the font size the font size in points