Frequently Asked Question:
Pushbutton Action
Question
How can I set the action of a pushbutton with your DLL
i.e. I want to add a weblink to the pushbutton when it is pressed?
Answer
You can add an action to a pushbutton like this:
If o.QuickPDFGetFormFieldType(PDFHandle, index) = 2 Then
o.QuickPDFSetFormFieldCaption(PDFHandle, index, "New Button Name")
o.QuickPDFFormFieldWebLinkAction(PDFHandle, index, "D", "http://www.yahoo.com")
End If