Class AnnotationDefaultAppearance

java.lang.Object
com.itextpdf.kernel.pdf.annot.da.AnnotationDefaultAppearance

public class AnnotationDefaultAppearance extends Object
Helper class for setting annotation default appearance. The class provides setters for font color, font size and font itself.

Note that only standard font names that do not require font resources are supported.

Note that it is possible to create annotation with custom font name in DA, but this require manual resource modifications (you have to put font in DR of AcroForm and use its resource name in DA) and only Acrobat supports that workflow.