PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Retrieve and edit the appearance and content of form fields.
Note that the properties of different form field types may not be entirely consistent.
The steps to edit a form field are as follows:
This example shows how to edit form fields:
CPDFTextWidget textWidget = (CPDFTextWidget) cpdfWidget;
textWidget.setFillColor(Color.RED.getRGB());
textWidget.updateAp();