Free Support Forum - aspose.com

Creating an AcroForm

Hi,

Is it possible to create a new AcroForm using Aspose.Pdf.Kit right from scratch using Java? (not editing an existing pdf form). If yes, please provide pointers for some material to get started.

Thanks

Dear squrek,

Thanks for considering Aspose.Pdf.Kit for Java.

The answer is YES. Please refer to our documents:

1. http://www.aspose.com/documentation/file-format-components/aspose.pdf.kit-for-.net-and-java/how-to-create-and-decorate-form-fields-with-api.html

2. http://www.aspose.com/documentation/file-format-components/aspose.pdf.kit-for-.net-and-java/com/aspose/pdf/kit/formeditor.html

The functional interface is FormEditor.addField( ). Before invoking it, you can specify some appearence attributes of the field to be added, as the example shows.

Any other question is also welcomed.

Best regards.