Set Custom Form Field Font

Contents
[ ]

To set and update the default font used for form fields, Aspose.PDF has the DefaultAppearance(Font font, double size, Color color) class. This class can be accessed using com.aspose.pdf.DefaultAppearance. To use this object, use the Field class’ setDefaultAppearance(..) method.

The following code snippet shows you how to set the default font for PDF form field.