org.apache.pdfbox.pdmodel.interactive.form
public class PDAppearance extends java.lang.Object
Constructor and Description |
---|
PDAppearance(PDAcroForm theAcroForm,
PDVariableText field)
Constructs a COSAppearnce from the given field.
|
Modifier and Type | Method and Description |
---|---|
void |
setAppearanceValue(java.lang.String apValue)
This is the public method for setting the appearance stream.
|
public PDAppearance(PDAcroForm theAcroForm, PDVariableText field) throws java.io.IOException
theAcroForm
- the acro form that this field is part of.field
- the field which you wish to control the appearance ofjava.io.IOException
- If there is an error creating the appearance.public void setAppearanceValue(java.lang.String apValue) throws java.io.IOException
apValue
- the String value which the apperance shoud representjava.io.IOException
- If there is an error creating the stream.