Frequently Asked Question:
How do I create PDF forms with Quick PDF Library?
How do I create PDF forms with Quick PDF Library?
Creating PDF forms with Quick PDF Library is easy. To create a simplistic new form field only two functions are required: the NewFormField function and the SetFormFieldBounds function. The NewFormField function initalizes the new form field and lets you specify the type of field and it's title, and the SetFormFieldBounds function lets you specify the height and width of the new field, as well as it's location on the apge.
The basic syntax is shown here in this example:
qp.NewFormField("Text form field", 1);
qp.SetFormFieldBounds(1, 100, 500, 200, 100);
qp.SetFormFieldBorderColor(1, 1, 0, 0);
In this example we created a text form field, however, you can also create checkboxes, radiobuttons, pushbuttons and more. You can also specify a variety of different properties and styles for all form field types.
Check out the full list of available form field functions.