Frequently Asked Question:
Add drop down form fields to my PDF
Question
How do I add drop down form fields to my PDF?
Answer
Adding a drop down list to a form field using the NewFormField function in Quick PDF Library is easy. Here is some sample code:
int FieldID = QP.NewFormField("DropDown", 5);
QP.SetFormFieldBounds(FieldID, 100, 500, 200, 20);
QP.AddFormFieldSub(FieldID, "Option 1");
QP.AddFormFieldSub(FieldID, "Option 2");
QP.AddFormFieldSub(FieldID, "Option 3");
QP.SaveToFile("dropdown.pdf");