Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

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

© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum